Use ActiveJob instead of Resque directly
This allows us to directly pass entities to the job.
This commit is contained in:
parent
07c8393c8c
commit
47d9c79617
16 changed files with 76 additions and 73 deletions
2
Procfile
2
Procfile
|
|
@ -1,4 +1,4 @@
|
|||
web: bundle exec rails server --binding=0.0.0.0 --port=$PORT
|
||||
worker: QUEUE=foodsoft_notifier bundle exec rake resque:work
|
||||
worker: QUEUE=* bundle exec rake resque:work
|
||||
mail: bundle exec rake foodsoft:reply_email_smtp_server
|
||||
cron: supercronic crontab
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue