add gevent so we can have concurrent requests in gunicorn mode

This commit is contained in:
2021-02-16 10:40:31 -06:00
parent f7d4b485a5
commit 1a02204a63
3 changed files with 238 additions and 77 deletions

View File

@ -53,7 +53,7 @@ pipenv run flask run
Run the app in gunicorn:
```
pipenv run gunicorn --bind 127.0.0.1:5000 app:app
pipenv run gunicorn --bind 127.0.0.1:5000 -k gevent --worker-connections 1000 app:app
```
## how to view the logs on the database server (legion.cyberia.club)