Browse files

Adding a max-requests option to gunicorn to prevent memory leaks.

  • Loading branch information...
1 parent 043bd5e commit 92e111727b62a21a24dfeb5d3e217429581387b0 Randall Degges committed May 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Procfile
View
2 Procfile
@@ -1 +1 @@
-web: python manage.py run_gunicorn --settings=settings.heroku -b "0.0.0.0:$PORT" -w 3
+web: python manage.py run_gunicorn -b "0.0.0.0:$PORT" -w 3 --max-requests 1000 --settings=settings.heroku

0 comments on commit 92e1117

Please sign in to comment.