We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa0733d commit 3b41e60Copy full SHA for 3b41e60
java/server/src/org/openqa/selenium/grid/distributor/local/LocalDistributor.java
@@ -547,10 +547,11 @@ public class NewSessionRunnable implements Runnable {
547
548
@Override
549
public void run() {
550
+ List<SessionRequestCapability> queueContents = sessionQueue.getQueueContents();
551
if (rejectUnsupportedCaps) {
- checkMatchingSlot(sessionQueue.getQueueContents());
552
+ checkMatchingSlot(queueContents);
553
}
- int initialSize = sessionQueue.getQueueContents().size();
554
+ int initialSize = queueContents.size();
555
boolean retry = initialSize != 0;
556
557
while (retry) {
0 commit comments