We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
gunicorn.conf.py
1 parent 3fdede8 commit 9f1dc31Copy full SHA for 9f1dc31
gunicorn.conf.py
@@ -0,0 +1,8 @@
1
+# If you are not having memory issues, just delete this.
2
+# This is primarily to prevent memory leaks
3
+# Based on https://devcenter.heroku.com/articles/python-gunicorn
4
+# Based on https://adamj.eu/tech/2019/09/19/working-around-memory-leaks-in-your-django-app/
5
+# https://docs.gunicorn.org/en/latest/settings.html#max-requests
6
+# https://docs.gunicorn.org/en/latest/settings.html#max-requests-jitter
7
+max_requests = 1200
8
+max_requests_jitter = 100
0 commit comments