From 0e25445c99751e9ab0f8c5ca7fbe45be110fab20 Mon Sep 17 00:00:00 2001 From: wenxin Date: Tue, 27 Dec 2022 12:17:40 +0800 Subject: [PATCH] Modify uwsgi configuration file fields --- ...dify-uwsgi-configuration-file-fields.patch | 25 +++++++++++++++++++ aops-zeus.spec | 8 ++++-- 2 files changed, 31 insertions(+), 2 deletions(-) create mode 100644 0003-modify-uwsgi-configuration-file-fields.patch diff --git a/0003-modify-uwsgi-configuration-file-fields.patch b/0003-modify-uwsgi-configuration-file-fields.patch new file mode 100644 index 0000000..39216ef --- /dev/null +++ b/0003-modify-uwsgi-configuration-file-fields.patch @@ -0,0 +1,25 @@ +From d3c4a082f1436b47601d1e3c8e905f4c6032e112 Mon Sep 17 00:00:00 2001 +From: wenxin +Date: Tue, 27 Dec 2022 11:12:39 +0800 +Subject: [PATCH] Modify uwsgi configuration fields + +--- + conf/zeus.ini | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/conf/zeus.ini b/conf/zeus.ini +index ab3eabd..0564893 100644 +--- a/conf/zeus.ini ++++ b/conf/zeus.ini +@@ -7,6 +7,8 @@ wsgi-file=manage.py + daemonize=/var/log/aops/uwsgi/zeus.log + http-timeout=600 + harakiri=600 ++processes=2 ++threads=4 + + [mysql] + ip=127.0.0.1 +-- +Gitee + diff --git a/aops-zeus.spec b/aops-zeus.spec index 1bfad48..a2082fa 100644 --- a/aops-zeus.spec +++ b/aops-zeus.spec @@ -1,15 +1,16 @@ Name: aops-zeus Version: v1.1.1 -Release: 3 +Release: 4 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-update-delete-host.patch Patch0002: 0002-disabled-mysql-installed-checked.patch +Patch0003: 0003-modify-uwsgi-configuration-file-fields.patch BuildRequires: python3-setuptools -Requires: aops-vulcanus >= %{version}-%{release} +Requires: aops-vulcanus >= v1.0.0 Requires: python3-marshmallow >= 3.13.0 python3-flask python3-flask-restful Requires: python3-requests python3-uWSGI python3-sqlalchemy python3-werkzeug python3-PyMySQL Provides: aops-zeus @@ -42,6 +43,9 @@ A host and user manager service which is the foundation of aops. %changelog +* Tue Dec 27 2022 wenxin - v1.1.1-4 +- Modify uwsgi configuration file fields + * Wed Dec 21 2022 gongzhengtang - v1.1.1-3 - disabled mysql installed checked -- Gitee