1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00

Update redis_config.rb to remove warning message (#24352)

This commit is contained in:
Alison Wheeler 2023-04-02 05:49:37 +01:00 committed by GitHub
parent 2b11376411
commit 2f7c3cb628
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,7 +35,7 @@ REDIS_CACHE_PARAMS = {
url: ENV['CACHE_REDIS_URL'], url: ENV['CACHE_REDIS_URL'],
expires_in: 10.minutes, expires_in: 10.minutes,
namespace: cache_namespace, 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, pool_timeout: 5,
connect_timeout: 5, connect_timeout: 5,
}.freeze }.freeze