Skip to content
Snippets Groups Projects
Commit 83d3eeea authored by Arnaud Levy's avatar Arnaud Levy
Browse files

add whales to queues

parent 4871fdbf
No related branches found
No related tags found
No related merge requests found
......@@ -2,4 +2,5 @@ web: bundle exec puma -C config/puma.rb
worker: bundle exec good_job start --queues="default"
miceworker: bundle exec good_job start --queues="mice"
elephantworker: bundle exec good_job start --queues="elephant" --max-threads=1
whaleworker: bundle exec good_job start --queues="whale" --max-threads=1
postdeploy: rails db:migrate && rails db:seed
class Communication::Website::CleanAndRebuildJob < Communication::Website::BaseJob
queue_as :whale
def execute
website.clean_and_rebuild
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment