use Sidekiq for processing

This commit is contained in:
Georg G 2015-05-10 02:57:27 +02:00
parent 91be970cb9
commit 4c6b009d23
1 changed files with 3 additions and 0 deletions

View File

@ -20,5 +20,8 @@ module Justask
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s] # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
# config.i18n.default_locale = :de # config.i18n.default_locale = :de
config.autoload_paths += %W["#{config.root}/app/validators"] config.autoload_paths += %W["#{config.root}/app/validators"]
# Use Sidekiq for background jobs
config.active_job.queue_adapter = :sidekiq
end end
end end