Skip to content

Commit

Permalink
[grid] Using correct default value for retry interval.
Browse files Browse the repository at this point in the history
  • Loading branch information
diemol committed Sep 14, 2021
1 parent c7d0f05 commit 6bab9ef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public Duration getSessionRequestRetryInterval() {
// If the user sets 0 or less, we default to 1s.
int interval = Math.max(
config.getInt(SESSION_QUEUE_SECTION, "session-retry-interval")
.orElse(DEFAULT_REQUEST_TIMEOUT),
.orElse(DEFAULT_RETRY_INTERVAL),
1);
return Duration.ofSeconds(interval);
}
Expand Down

0 comments on commit 6bab9ef

Please sign in to comment.