Skip to content

Commit

Permalink
Restart gunicorn workers periodically
Browse files Browse the repository at this point in the history
  • Loading branch information
davidfischer committed Dec 12, 2019
1 parent 62bd1e2 commit e52814e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
web: newrelic-admin run-program gunicorn config.wsgi --log-file -
web: newrelic-admin run-program gunicorn config.wsgi --max-requests=10000 --log-file -
celeryworker: celery worker --app=config.celery_app.app --loglevel=INFO --without-gossip --without-mingle --without-heartbeat --max-tasks-per-child 1000
celerybeat: celery beat --app=config.celery_app.app --loglevel=INFO

0 comments on commit e52814e

Please sign in to comment.