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 cf36d184f4
commit e20700fe8f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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