mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-01-14 01:42:06 -06:00
add timeout to InsertManyOptions configuration
This commit is contained in:
parent
db091c1c5b
commit
37cd2f7bb4
@ -66,6 +66,8 @@ public class DataApiInsertManyOpDispenser extends DataApiOpDispenser {
|
|||||||
options = options.concurrency(Integer.parseInt(entry.getValue()));
|
options = options.concurrency(Integer.parseInt(entry.getValue()));
|
||||||
case "ordered" ->
|
case "ordered" ->
|
||||||
options = options.ordered(Boolean.parseBoolean(entry.getValue()));
|
options = options.ordered(Boolean.parseBoolean(entry.getValue()));
|
||||||
|
case "timeout" ->
|
||||||
|
options = options.timeout(Integer.parseInt(entry.getValue()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user