From ff9edc2631336504bb00e661a819293080cc2417 Mon Sep 17 00:00:00 2001 From: piair Date: Thu, 24 Aug 2023 14:31:45 +0200 Subject: [PATCH] ptet que j'ai fix le probleme de multiple execution au passage --- Flask/app.py | 2 +- Flask/start.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Flask/app.py b/Flask/app.py index c14bf60..d3071b4 100644 --- a/Flask/app.py +++ b/Flask/app.py @@ -453,7 +453,7 @@ def maxi(dict): return(m+1) -subprocess.Popen(["bash",'/app/MsRewards-Reborn/grafana-config/request.sh']) +subprocess.Popen(["bash",'/app/MsRewards-Reborn/config/request.sh']) #if __name__ == '__main__': # print("this is launched") diff --git a/Flask/start.sh b/Flask/start.sh index dc6c28c..21d841c 100644 --- a/Flask/start.sh +++ b/Flask/start.sh @@ -1,3 +1,3 @@ service grafana-server start service nginx start -gunicorn --reload -w 4 -b 0.0.0.0:6666 'app:app' +gunicorn --reload -w 1 -b 0.0.0.0:6666 'app:app'