Browse Source

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

pull/4/head
Eugen Rochko 6 years ago
committed by GitHub
parent
commit
e20700fe8f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      config/initializers/chewy.rb

+ 2
- 1
config/initializers/chewy.rb 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

Loading…
Cancel
Save