Skip to content

Commit

Permalink
Update redis_config.rb to remove warning message (mastodon#24352)
Browse files Browse the repository at this point in the history
  • Loading branch information
alisonw committed Apr 2, 2023
1 parent 2b11376 commit 2f7c3cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mastodon/redis_config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def setup_redis_env_url(prefix = nil, defaults = true)
url: ENV['CACHE_REDIS_URL'],
expires_in: 10.minutes,
namespace: cache_namespace,
pool_size: Sidekiq.server? ? Sidekiq.options[:concurrency] : Integer(ENV['MAX_THREADS'] || 5),
pool_size: Sidekiq.server? ? Sidekiq[:concurrency] : Integer(ENV['MAX_THREADS'] || 5),
pool_timeout: 5,
connect_timeout: 5,
}.freeze
Expand Down

0 comments on commit 2f7c3cb

Please sign in to comment.