]> cat aescling's git repositories - mastodon.git/commitdiff
Fix Chewy trying to update index with the wrong strategy (#6464)
authorEugen Rochko <eugen@zeonfederated.com>
Sun, 11 Feb 2018 21:59:44 +0000 (22:59 +0100)
committerGitHub <noreply@github.com>
Sun, 11 Feb 2018 21:59:44 +0000 (22:59 +0100)
config/initializers/chewy.rb

index bef2746ec7ffd76c645774cfed45902103515c33..702f7516c7250df3428e115ab61d3d4454abceca 100644 (file)
@@ -11,7 +11,8 @@ Chewy.settings = {
   journal: false,
 }
 
-Chewy.root_strategy = enabled ? :sidekiq : :bypass
+Chewy.root_strategy    = enabled ? :sidekiq : :bypass
+Chewy.request_strategy = enabled ? :sidekiq : :bypass
 
 module Chewy
   class << self