Fix #6509: Use pull queue for chewy jobs (#6513)

master
Eugen Rochko 7 years ago committed by GitHub
parent be9bab171d
commit 02856073f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      config/initializers/chewy.rb

@ -9,6 +9,7 @@ Chewy.settings = {
prefix: prefix, prefix: prefix,
enabled: enabled, enabled: enabled,
journal: false, journal: false,
sidekiq: { queue: 'pull' },
} }
Chewy.root_strategy = enabled ? :sidekiq : :bypass Chewy.root_strategy = enabled ? :sidekiq : :bypass

Loading…
Cancel
Save