Skip to content

Commit 017680d

Browse files
committed
[grid] Increasing batch size, to match the distributor
Which should be the common setup since most users run Grid in a Hub/Node setup. [skip ci]
1 parent 41f815c commit 017680d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/src/org/openqa/selenium/grid/sessionqueue/config/NewSessionQueueOptions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public class NewSessionQueueOptions {
3737
static final int DEFAULT_REQUEST_TIMEOUT = 300;
3838
static final int DEFAULT_REQUEST_TIMEOUT_PERIOD = 10;
3939
static final int DEFAULT_RETRY_INTERVAL = 15;
40-
static final int DEFAULT_BATCH_SIZE = 10;
40+
static final int DEFAULT_BATCH_SIZE = Runtime.getRuntime().availableProcessors() * 3;
4141

4242
private final Config config;
4343

0 commit comments

Comments
 (0)