Skip to content

Commit c6323a5

Browse files
committed
Update variable naming with prefix DEFAULT_
Signed-off-by: Viet Nguyen Duc <[email protected]>
1 parent 658b8e9 commit c6323a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
public class NewSessionQueueOptions {
3636

3737
static final String SESSION_QUEUE_SECTION = "sessionqueue";
38-
static final int MAXIMUM_RESPONSE_DELAY = 8;
38+
static final int DEFAULT_MAXIMUM_RESPONSE_DELAY = 8;
3939
static final int DEFAULT_REQUEST_TIMEOUT = 300;
4040
static final int DEFAULT_REQUEST_TIMEOUT_PERIOD = 10;
4141
static final int DEFAULT_RETRY_INTERVAL = 15;
@@ -94,7 +94,7 @@ public Duration getMaximumResponseDelay() {
9494
int timeout =
9595
config
9696
.getInt(SESSION_QUEUE_SECTION, "maximum-response-delay")
97-
.orElse(MAXIMUM_RESPONSE_DELAY);
97+
.orElse(DEFAULT_MAXIMUM_RESPONSE_DELAY);
9898

9999
return Duration.ofSeconds(timeout);
100100
}

0 commit comments

Comments
 (0)