From 73fb84a4ac9c0865aa7b92886dbc812da5332f91 Mon Sep 17 00:00:00 2001 From: munishchouhan Date: Fri, 22 Nov 2024 12:17:02 +0100 Subject: [PATCH] removed redisConfig Signed-off-by: munishchouhan --- .../seqera/wave/ratelimit/impl/SpillWayStorageFactory.groovy | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/groovy/io/seqera/wave/ratelimit/impl/SpillWayStorageFactory.groovy b/src/main/groovy/io/seqera/wave/ratelimit/impl/SpillWayStorageFactory.groovy index aa49b2c3b..337e5656b 100644 --- a/src/main/groovy/io/seqera/wave/ratelimit/impl/SpillWayStorageFactory.groovy +++ b/src/main/groovy/io/seqera/wave/ratelimit/impl/SpillWayStorageFactory.groovy @@ -52,8 +52,7 @@ class SpillWayStorageFactory { @Singleton @Requires(property = 'redis.uri') - LimitUsageStorage redisStorage(@NotNull RedisConfig redisConfig, JedisPool pool){ - log.info "Using redis $redisConfig.uri as storage for rate limit" + LimitUsageStorage redisStorage(JedisPool pool){ return RedisStorage.builder().withJedisPool(pool).build() } }