Skip to content

Commit

Permalink
removed redisConfig
Browse files Browse the repository at this point in the history
Signed-off-by: munishchouhan <[email protected]>
  • Loading branch information
munishchouhan committed Nov 22, 2024
1 parent 2dd4221 commit 73fb84a
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
}

0 comments on commit 73fb84a

Please sign in to comment.