Switch from eventlet to gevent, it seems to work better with flask static files.
This commit is contained in:
parent
05a9cb437b
commit
af4c67d7cb
3 changed files with 3 additions and 3 deletions
|
@ -21,7 +21,7 @@ running:
|
|||
|
||||
```
|
||||
sudo nginx -c `pwd`/nginx.conf
|
||||
STACK=prod gunicorn -D --workers 4 -b unix:/tmp/gunicorn.sock --worker-class eventlet -t 2000 application:application
|
||||
STACK=prod gunicorn -D --workers 4 -b unix:/tmp/gunicorn.sock --worker-class gevent -t 2000 application:application
|
||||
```
|
||||
|
||||
set up the snapshot script:
|
||||
|
|
Reference in a new issue