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

master
Eugen Rochko 7 years ago committed by GitHub
parent cf36d184f4
commit e20700fe8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      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

Loading…
Cancel
Save