Modify uwsgi configuration file fields

(cherry picked from commit 0e25445c99751e9ab0f8c5ca7fbe45be110fab20)
This commit is contained in:
wenxin 2022-12-27 12:17:40 +08:00 committed by openeuler-sync-bot
parent fd40c5a1a3
commit a38c3389e6
2 changed files with 31 additions and 2 deletions

View File

@ -0,0 +1,25 @@
From d3c4a082f1436b47601d1e3c8e905f4c6032e112 Mon Sep 17 00:00:00 2001
From: wenxin <shusheng.wen@outlook.com>
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

View File

@ -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<shusheng.wen@outlook.com> - v1.1.1-4
- Modify uwsgi configuration file fields
* Wed Dec 21 2022 gongzhengtang<gong_zhengtang@163.com> - v1.1.1-3
- disabled mysql installed checked