about summary refs log tree commit diff
path: root/config/initializers/sidekiq.rb
diff options
context:
space:
mode:
authorabcang <abcang1015@gmail.com>2017-09-14 22:12:43 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-09-14 15:12:43 +0200
commit1aad015bbbe7957827c2b921a21c53ce11c6ac36 (patch)
treee69ffca7fb8dfd6aa039a7269cd25161c0d9d912 /config/initializers/sidekiq.rb
parent94fba44eecf21f5554fc62112aa4b6daff396ff5 (diff)
Revert unique retry job (#4937)
* Revert "Enable UniqueRetryJobMiddleware even when called from sidekiq worker (#4836)"

This reverts commit 6859d4c0289e767955aac3f345074220fe200604.

* Revert "Do not execute the job with the same arguments as the retry job (#4814)"

This reverts commit be7ffa2d7539d5a1946a3933cb9d242b9fac0ddc.
Diffstat (limited to 'config/initializers/sidekiq.rb')
-rw-r--r--config/initializers/sidekiq.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/config/initializers/sidekiq.rb b/config/initializers/sidekiq.rb
index 0ee77730e..b70784d79 100644
--- a/config/initializers/sidekiq.rb
+++ b/config/initializers/sidekiq.rb
@@ -9,14 +9,8 @@ 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|
   config.redis = redis_params
-  config.client_middleware do |chain|
-    chain.add Mastodon::UniqueRetryJobMiddleware
-  end
 end