make chat worker not detached anymore

remotes/1693045480750635534/spooky-22
Aevann1 2022-08-14 04:46:01 +02:00
parent 0fa6442846
commit abd0850dc4
3 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,4 @@
cd /rDrama
git pull
. /env
gunicorn files.__main__:app load_chat -k geventwebsocket.gunicorn.workers.GeventWebSocketWorker -w 1 -b 0.0.0.0:5001 --max-requests 30000 --max-requests-jitter 30000 -D
gunicorn files.__main__:app -k gevent -w 3 --reload -b 0.0.0.0:5000 --max-requests 30000 --max-requests-jitter 10000

4
startup_chat.sh 100644
View File

@ -0,0 +1,4 @@
cd /rDrama
git pull
. /env
gunicorn files.__main__:app load_chat -k geventwebsocket.gunicorn.workers.GeventWebSocketWorker -w 1 -b 0.0.0.0:5001 --max-requests 30000 --max-requests-jitter 30000

View File

@ -9,6 +9,7 @@ sed -i 's/^/export /g;s/=/="/g;s/$/"/g' /env
. /env
cp ./startup.sh /s
cp ./startup_chat.sh /s2
apt -y update
apt -y upgrade