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:
|
||||
|
|
|
@ -9,7 +9,7 @@ boto
|
|||
pymysql
|
||||
stripe
|
||||
gunicorn
|
||||
eventlet
|
||||
gevent
|
||||
mixpanel-py
|
||||
beautifulsoup4
|
||||
marisa-trie
|
||||
|
|
|
@ -14,7 +14,7 @@ blinker==1.3
|
|||
boto==2.17.0
|
||||
distribute==0.6.34
|
||||
ecdsa==0.10
|
||||
eventlet==0.14.0
|
||||
gevent==0.13.8
|
||||
greenlet==0.4.1
|
||||
gunicorn==18.0
|
||||
html5lib==1.0b3
|
||||
|
|
Reference in a new issue