about summary refs log tree commit diff
path: root/config/initializers
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-05-24 13:59:21 +0200
committerClaire <claire.github-309c@sitedethib.com>2022-05-24 13:59:21 +0200
commit22111914bfc838a43bb2e20244c965467f127de2 (patch)
tree8f6301da32a36a3ebeec0b965a74f67c02632f7c /config/initializers
parentc279dbd47082e908d98dc8cf869c0ff7fc19f1ae (diff)
parente5997a195602624efdb366e9f09ffa377e859580 (diff)
Merge branch 'main' into glitch-soc/merge-upstream
Diffstat (limited to 'config/initializers')
-rw-r--r--config/initializers/chewy.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/config/initializers/chewy.rb b/config/initializers/chewy.rb
index f303fc54d..752fc3c6d 100644
--- a/config/initializers/chewy.rb
+++ b/config/initializers/chewy.rb
@@ -13,15 +13,14 @@ Chewy.settings = {
   journal: false,
   user: user,
   password: password,
-  sidekiq: { queue: 'pull' },
 }
 
 # We use our own async strategy even outside the request-response
 # cycle, which takes care of checking if Elasticsearch is enabled
 # or not. However, mind that for the Rails console, the :urgent
 # strategy is set automatically with no way to override it.
-Chewy.root_strategy              = :custom_sidekiq
-Chewy.request_strategy           = :custom_sidekiq
+Chewy.root_strategy              = :mastodon
+Chewy.request_strategy           = :mastodon
 Chewy.use_after_commit_callbacks = false
 
 module Chewy