We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a33b729 commit 5d03062Copy full SHA for 5d03062
1 file changed
gunicorn.conf.py
@@ -0,0 +1,13 @@
1
+import os
2
+from gevent import monkey
3
+
4
+monkey.patch_all()
5
+import multiprocessing
6
7
+bind = "0.0.0.0:5000"
8
+pidfile = "/tmp/gunicorn.pid"
9
+accesslog = "./logs/gunicorn.log"
10
+workers = multiprocessing.cpu_count() * 2 + 1
11
+worker_class = "gevent"
12
+daemon = True
13
+debug = False
0 commit comments