diff --git a/clouddriver-core/src/main/java/com/netflix/spinnaker/clouddriver/cache/RedisCacheConfig.java b/clouddriver-core/src/main/java/com/netflix/spinnaker/clouddriver/cache/RedisCacheConfig.java index 4df355dbfeb..0e77f492a59 100644 --- a/clouddriver-core/src/main/java/com/netflix/spinnaker/clouddriver/cache/RedisCacheConfig.java +++ b/clouddriver-core/src/main/java/com/netflix/spinnaker/clouddriver/cache/RedisCacheConfig.java @@ -56,8 +56,8 @@ AgentIntervalProvider agentIntervalProvider( RedisConfigurationProperties redisConfigurationProperties) { return new CustomSchedulableAgentIntervalProvider( TimeUnit.SECONDS.toMillis(redisConfigurationProperties.getPoll().getIntervalSeconds()), - TimeUnit.SECONDS.toMillis(redisConfigurationProperties.getPoll().getIntervalSeconds()), - TimeUnit.SECONDS.toMillis(redisConfigurationProperties.getPoll().getIntervalSeconds())); + TimeUnit.SECONDS.toMillis(redisConfigurationProperties.getPoll().getErrorIntervalSeconds()), + TimeUnit.SECONDS.toMillis(redisConfigurationProperties.getPoll().getTimeoutSeconds())); } @Bean