Restore correct working of eveai_chat using gunicorn

This commit is contained in:
Josako
2024-06-04 15:00:23 +02:00
parent 61e1372dc8
commit 303f9b969b
4 changed files with 6 additions and 34 deletions

View File

@@ -10,8 +10,6 @@ export FLASK_ENV=development # Use 'production' as appropriate
export FLASK_DEBUG=1 # Use 0 for production
# Start Flask app
gunicorn --workers 4 --worker-class gevent -b 0.0.0.0:5002 scripts.run_eveai_chat:app &
wait
gunicorn -w 4 -k geventwebsocket.gunicorn.workers.GeventWebSocketWorker -b 0.0.0.0:5002 scripts.run_eveai_chat:app
deactivate