!27 [sync] PR-25: 为uwsgi配置文件添加gevent配置项
From: @openeuler-sync-bot Reviewed-by: @zhu-yuncheng Signed-off-by: @zhu-yuncheng
This commit is contained in:
commit
4887a6cc61
27
0003-add-gevent-config-item-for-uwsgi.patch
Normal file
27
0003-add-gevent-config-item-for-uwsgi.patch
Normal file
@ -0,0 +1,27 @@
|
||||
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
|
||||
|
||||
@ -1,12 +1,13 @@
|
||||
Name: aops-zeus
|
||||
Version: v1.2.0
|
||||
Release: 2
|
||||
Release: 3
|
||||
Summary: A host and user manager service which is the foundation of aops.
|
||||
License: MulanPSL2
|
||||
URL: https://gitee.com/openeuler/%{name}
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
Patch0001: 0001-fix-token-is-not-invalidated-after-being-refreshed.patch
|
||||
Patch0002: 0002-update-args-validation-rules-and-update-add-host-by-batch.patch
|
||||
Patch0003: 0003-add-gevent-config-item-for-uwsgi.patch
|
||||
|
||||
|
||||
BuildRequires: python3-setuptools
|
||||
@ -44,6 +45,9 @@ A host and user manager service which is the foundation of aops.
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon May 08 2023 wenixn<shusheng.wen@outlook.com> - v1.2.0-3
|
||||
- add gevent config item for uwsgi
|
||||
|
||||
* Thu Apr 27 2023 wenixn<shusheng.wen@outlook.com> - v1.2.0-2
|
||||
- Fix token is not invalidated after the token was refreshed
|
||||
- update args validation rules for add account and for add host
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user