mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-26 14:51:37 +01:00
redis_config.rb: Move away deprecated Sidekiq config syntax
This commit is contained in:
parent
39fc57edac
commit
f862d584a7
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ REDIS_CACHE_PARAMS = {
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue