1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-02 21:24:25 +00:00

Changed worker script for heroku and added workers to puma

This commit is contained in:
2018-08-08 13:33:40 +00:00
parent db5438903a
commit 08b3d9b7ee
2 changed files with 4 additions and 3 deletions

View File

@@ -1,3 +1,4 @@
worker: bundle exec rake jobs:work
web: bundle exec puma -t 5:5 -p ${PORT:-3000} -e ${RACK_ENV:-development}
worker: bundle exec bin/delayed_job -n 1 run
#worker: bundle exec rake jobs:work
web: bundle exec puma -w 3 -t 5:5 -p ${PORT:-3000} -e ${RACK_ENV:-development}
#web: bundle exec passenger start -p $PORT --max-pool-size 3