This commit is contained in:
1 parent
e3a4b6a5df
commit
4edd325a80
1 file changed
+2
-2
+2
-2
@@ -9,9 +9,9 @@ worker_class = 'gevent'
|
|||||||
# 设置最大并发量
|
# 设置最大并发量
|
||||||
daemon = False
|
daemon = False
|
||||||
debug = False
|
debug = False
|
||||||
worker_connections = 2000
|
worker_connections = 500
|
||||||
workers = multiprocessing.cpu_count() * 2 + 1
|
workers = multiprocessing.cpu_count() * 2 + 1
|
||||||
timeout = 120
|
# timeout = 120
|
||||||
|
|
||||||
# 指定每个工作者的线程数
|
# 指定每个工作者的线程数
|
||||||
# threads = 10
|
# threads = 10
|
||||||
|
|||||||
Reference in new issue
Block a user