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

This commit is contained in:
Eugen Rochko 2018-02-11 22:59:44 +01:00 committed by GitHub
parent e8e6786d6f
commit cd925c11e3

View file

@ -11,7 +11,8 @@ Chewy.settings = {
journal: false, journal: false,
} }
Chewy.root_strategy = enabled ? :sidekiq : :bypass Chewy.root_strategy = enabled ? :sidekiq : :bypass
Chewy.request_strategy = enabled ? :sidekiq : :bypass
module Chewy module Chewy
class << self class << self