28 lines
781 B
Diff
28 lines
781 B
Diff
From 759e4a40e09e96b7d71b9537dbcf3e71d407389b Mon Sep 17 00:00:00 2001
|
|
From: rabbitali <shusheng.wen@outlook.com>
|
|
Date: Fri, 21 Apr 2023 14:32:31 +0800
|
|
Subject: [PATCH] add gevent config item for uwsgi
|
|
|
|
---
|
|
conf/zeus.ini | 4 +++-
|
|
1 file changed, 3 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/conf/zeus.ini b/conf/zeus.ini
|
|
index d794001..15b3f47 100644
|
|
--- a/conf/zeus.ini
|
|
+++ b/conf/zeus.ini
|
|
@@ -8,7 +8,9 @@ daemonize=/var/log/aops/uwsgi/zeus.log
|
|
http-timeout=600
|
|
harakiri=600
|
|
processes=2
|
|
-threads=4
|
|
+; if gevent is used in the project, you should set gevent item here, its value is the maximum number of coroutine
|
|
+; concurrency. gevent and threads are conflicting items, and gevent is read with a higher priority than threads.
|
|
+gevent=100
|
|
|
|
[mysql]
|
|
ip=127.0.0.1
|
|
--
|
|
Gitee
|
|
|