This commit is contained in:
1 parent
bffb0ac37a
commit
2ae347676c
1 file changed
+2
-1
+2
-1
@@ -12,8 +12,9 @@ daemon = False
|
||||
debug = False
|
||||
worker_connections = 2000
|
||||
workers = multiprocessing.cpu_count() * 2 + 1
|
||||
|
||||
# 指定每个工作者的线程数
|
||||
threads = 10
|
||||
# threads = 10
|
||||
|
||||
# pidfile = "/var/run/gunicorn.pid"
|
||||
# accesslog = '/var/log/gunicorn_access.log'
|
||||
|
||||
Reference in new issue
Block a user