2021-03-15 01:36:28 +01:00
|
|
|
diff --git a/conf/gunicorn.conf.py b/conf/gunicorn.conf.py
|
2022-02-02 21:42:33 +01:00
|
|
|
index 726cd5f4..c13809cc 100644
|
2021-03-15 01:36:28 +01:00
|
|
|
--- a/conf/gunicorn.conf.py
|
|
|
|
+++ b/conf/gunicorn.conf.py
|
2022-02-02 21:42:33 +01:00
|
|
|
@@ -1,16 +1,16 @@
|
2021-03-15 01:36:28 +01:00
|
|
|
import multiprocessing
|
|
|
|
import os
|
|
|
|
|
|
|
|
-bind = "unix:/tmp/mygpo.sock"
|
2022-02-02 21:42:33 +01:00
|
|
|
+#bind = "unix:/tmp/mygpo.sock"
|
|
|
|
#workers = multiprocessing.cpu_count()
|
|
|
|
workers = 3
|
2021-03-15 01:36:28 +01:00
|
|
|
|
|
|
|
# The maximum number of requests a worker will process before restarting.
|
|
|
|
# max_requests = 1000
|
|
|
|
|
|
|
|
-errorlog = "/var/log/gunicorn/error.log"
|
|
|
|
-accesslog = "/var/log/gunicorn/access.log"
|
|
|
|
-loglevel = "info"
|
2022-02-02 21:42:33 +01:00
|
|
|
+#errorlog = "/var/log/gunicorn/error.log"
|
|
|
|
+#accesslog = "/var/log/gunicorn/access.log"
|
|
|
|
+#loglevel = "info"
|
|
|
|
access_log_format = '%(h)s %(l)s %(u)s %(t)s "%(r)s" %(s)s %(b)s %(T)s "%(f)s" "%(a)s"'
|
2021-03-15 01:36:28 +01:00
|
|
|
|
|
|
|
timeout = 120
|