diff --git a/0003-modify-uwsgi-configuration-file-fields.patch b/0003-modify-uwsgi-configuration-file-fields.patch new file mode 100644 index 0000000000000000000000000000000000000000..39216efc1ff958e86b3458845470c4eebc344627 --- /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 1bfad48637efa532e7cf3bf40b93440ae45e4831..a2082faa2725a1d5c1e273d2c5d0d011f304f638 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