1
0
mirror of https://github.com/mastodon/mastodon synced 2024-11-27 22:38:27 +09:00

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

This commit is contained in:
abcang 2017-09-07 23:44:15 +09:00 committed by Eugen Rochko
parent 7d853b514a
commit 6859d4c028

View File

@ -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|