Browse Source

Enable UniqueRetryJobMiddleware even when called from sidekiq worker (#4836)

theme_witches
abcang 5 years ago committed by Eugen Rochko
parent
commit
6859d4c028
  1. 3
      config/initializers/sidekiq.rb

3
config/initializers/sidekiq.rb

@ -9,6 +9,9 @@ end @@ -9,6 +9,9 @@ end
Sidekiq.configure_server do |config|
config.redis = redis_params
config.client_middleware do |chain|
chain.add Mastodon::UniqueRetryJobMiddleware
end
end
Sidekiq.configure_client do |config|

Loading…
Cancel
Save