logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: e20700fe8fa22562d3df10ad0361e65676a01231
parent: cf36d184f41b5bfc0c63d6c8409b05cca2eb67ee
Author: Eugen Rochko <eugen@zeonfederated.com>
Date:   Sun, 11 Feb 2018 22:59:44 +0100

Fix Chewy trying to update index with the wrong strategy (#6464)


Diffstat:

Mconfig/initializers/chewy.rb3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/config/initializers/chewy.rb b/config/initializers/chewy.rb @@ -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