fix: adjust gunicorn.conf.py
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
13b6e10819
commit
39c82ea99b
|
@ -10,7 +10,7 @@ worker_class = 'gevent'
|
||||||
# 设置最大并发量
|
# 设置最大并发量
|
||||||
daemon = False
|
daemon = False
|
||||||
debug = False
|
debug = False
|
||||||
worker_connections = 3000
|
worker_connections = 1000
|
||||||
workers = multiprocessing.cpu_count() * 2 + 1
|
workers = multiprocessing.cpu_count() * 2 + 1
|
||||||
|
|
||||||
# 指定每个工作者的线程数
|
# 指定每个工作者的线程数
|
||||||
|
|
Loading…
Reference in New Issue