Skip to content

Commit

Permalink
Switch to asynchronous gunicorn worker
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Aug 21, 2024
1 parent 0bab674 commit 2ee6a56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/frontend_celery/start_webapp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,6 @@ then
logsdir=$ROOT/logs
mkdir -p $logsdir/gunicorn-access-logs
mkdir -p $logsdir/gunicorn-error-logs
gunicorn -b $HOST:$PORT -w 4 'webapp:create_app()' --access-logfile $logsdir/gunicorn-access-logs/access.log --error-logfile $logsdir/gunicorn-error-logs/error.log # heredivar.uni-koeln.de:8000
gunicorn -b $HOST:$PORT -k 'gevent' -w 4 'webapp:create_app()' --access-logfile $logsdir/gunicorn-access-logs/access.log --error-logfile $logsdir/gunicorn-error-logs/error.log # heredivar.uni-koeln.de:8000
#gunicorn -b SRV018.img.med.uni-tuebingen.de:8001 -w 1 'webapp:create_app()'
fi
fi

0 comments on commit 2ee6a56

Please sign in to comment.