Skip to content

Commit 6bab9ef

Browse files
committed
[grid] Using correct default value for retry interval.
1 parent c7d0f05 commit 6bab9ef

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
@@ -100,7 +100,7 @@ public Duration getSessionRequestRetryInterval() {
100100
// If the user sets 0 or less, we default to 1s.
101101
int interval = Math.max(
102102
config.getInt(SESSION_QUEUE_SECTION, "session-retry-interval")
103-
.orElse(DEFAULT_REQUEST_TIMEOUT),
103+
.orElse(DEFAULT_RETRY_INTERVAL),
104104
1);
105105
return Duration.ofSeconds(interval);
106106
}

0 commit comments

Comments
 (0)