Closed acozine closed 6 years ago
Changes to use sidekiq are mainly in the codebase rather than in the server setup:
gem 'sidekiq'
and gem 'capistrano-sidekiq'
to the Gemfilerequire "capistrano/sidekiq"
in the Capfileconfig.active_job.queue_adapter = :sidekiq
in config/environments/production.rb
config/initializers/sidekiq.rb
to connect sidekiq to redisconfig/sidekiq.yml
to define the queues, and match the setting of the ingest queue in config/initializers/hyrax.rb
- e.g. config.ingest_queue_name = :ingest
require 'sidekiq/web'
and mount Sidekiq::Web => '/sidekiq'
to config/routes.rb
to add the sidekiq management paneSee https://github.com/curationexperts/nurax/commit/a93f77c8a77702e5fb68c6453c5d870001537451 for some of the changes described above.
Standardizing on community preferred use of sidekiq
in https://github.com/curationexperts/ansible-samvera
We currently support resque. Consider adding alternatives: