Skip to content

Commit

Permalink
Fix redis_configuration.rb sidekiq setting
Browse files Browse the repository at this point in the history
  • Loading branch information
S-H-GAMELINKS authored Oct 18, 2024
1 parent 58e586f commit b9eef65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mastodon/redis_configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def cache
expires_in: 10.minutes,
connect_timeout: 5,
pool: {
size: Sidekiq.server? ? Sidekiq[:concurrency] : Integer(ENV['MAX_THREADS'] || 5),
size: Sidekiq.server? ? Sidekiq.default_configuration.concurrency : Integer(ENV['MAX_THREADS'] || 5),
timeout: 5,
},
})
Expand Down

0 comments on commit b9eef65

Please sign in to comment.