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