diff --git a/Procfile b/Procfile index 3531bbe..4b22d1b 100644 --- a/Procfile +++ b/Procfile @@ -1,3 +1,3 @@ web: bundle exec puma -C config/puma.rb release: bin/rake db:migrate:with_data -worker: bundle exec sidekiq -q default -c 1 +worker: bundle exec sidekiq -e production -C config/sidekiq.yml diff --git a/config/sidekiq.yml b/config/sidekiq.yml new file mode 100644 index 0000000..fcb4ff2 --- /dev/null +++ b/config/sidekiq.yml @@ -0,0 +1,6 @@ +development: + :concurrency: 5 +production: + :concurrency: 6 +:queues: + - default