mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2024-11-30 12:34:01 -06:00
disable strict parameter consumption by default
This commit is contained in:
parent
480e91565d
commit
07339c4879
@ -48,7 +48,7 @@ public class StandardActivity<R extends Op, S> extends SimpleActivity {
|
||||
try {
|
||||
OpMapper<R> opmapper = adapter.getOpMapper();
|
||||
Function<Map<String, Object>, Map<String, Object>> preprocessor = adapter.getPreprocessor();
|
||||
boolean strict = activityDef.getParams().getOptionalBoolean("strict").orElse(true);
|
||||
boolean strict = activityDef.getParams().getOptionalBoolean("strict").orElse(false);
|
||||
sequence = createOpSourceFromCommands(opmapper, adapter.getConfiguration(), List.of(preprocessor), strict);
|
||||
} catch (Exception e) {
|
||||
if (e instanceof OpConfigError) {
|
||||
|
Loading…
Reference in New Issue
Block a user