aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorHarald Musum <musum@yahooinc.com>2021-12-10 08:20:37 +0100
committerHarald Musum <musum@yahooinc.com>2021-12-10 08:20:37 +0100
commit977a3a84ec0d82c55abe25ed73ff4d69b355c0d0 (patch)
treeb7f28be20bc7e2162f5beb8f45851c6c42875312 /config
parent68dbb0d83a1846fc729cef36985956b002f6d7e4 (diff)
Wait longer before logging a warning the first time
Diffstat (limited to 'config')
-rw-r--r--config/src/main/java/com/yahoo/config/subscription/impl/JRTConfigRequester.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/src/main/java/com/yahoo/config/subscription/impl/JRTConfigRequester.java b/config/src/main/java/com/yahoo/config/subscription/impl/JRTConfigRequester.java
index 0c4ac005bb6..fdfaf8b72fd 100644
--- a/config/src/main/java/com/yahoo/config/subscription/impl/JRTConfigRequester.java
+++ b/config/src/main/java/com/yahoo/config/subscription/impl/JRTConfigRequester.java
@@ -70,7 +70,7 @@ public class JRTConfigRequester implements RequestWaiter {
this.connectionPool = connectionPool;
this.timingValues = timingValues;
// Adjust so that we wait 1 second with logging warning in case there are some errors just when starting up
- timeForLastLogWarning = Instant.now().minus(delayBetweenWarnings.plus(Duration.ofSeconds(1)));
+ timeForLastLogWarning = Instant.now().minus(delayBetweenWarnings.plus(Duration.ofSeconds(5)));
}
/**