add timeout to InsertManyOptions configuration

This commit is contained in:
Mark Wolters 2024-06-10 19:20:13 -04:00
parent db091c1c5b
commit 37cd2f7bb4

View File

@ -66,6 +66,8 @@ public class DataApiInsertManyOpDispenser extends DataApiOpDispenser {
options = options.concurrency(Integer.parseInt(entry.getValue()));
case "ordered" ->
options = options.ordered(Boolean.parseBoolean(entry.getValue()));
case "timeout" ->
options = options.timeout(Integer.parseInt(entry.getValue()));
}
}
}