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

signup-info-prompt
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
1 changed files with 2 additions and 1 deletions

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