Commit ab6ac0f35a5490ace6d6d1c6c6990f8d959946bc

Authored by Lucas Kanashiro
1 parent c6fe0f14

Remove dep and changed gevent to eventlet

puppet/modules/colab/manifests/init.pp
@@ -24,7 +24,7 @@ class colab { @@ -24,7 +24,7 @@ class colab {
24 } 24 }
25 } 25 }
26 26
27 - ensure_packages(['mercurial', 'memcached']) 27 + ensure_packages(['memcached'])
28 28
29 # XMPP connection manager 29 # XMPP connection manager
30 pip::install { 'punjab': } 30 pip::install { 'punjab': }
requirements.txt
@@ -20,8 +20,8 @@ django-i18n-model==0.0.7 @@ -20,8 +20,8 @@ django-i18n-model==0.0.7
20 django-tastypie==0.11.0 20 django-tastypie==0.11.0
21 django-browserid==0.9 21 django-browserid==0.9
22 22
23 -gunicorn==18.0  
24 -gevent==0.13.8 23 +gunicorn==19.1.0
  24 +eventlet==0.15.0
25 25
26 # Deps for sentry client (raven) 26 # Deps for sentry client (raven)
27 raven==3.5.2 27 raven==3.5.2
src/colab/gunicorn.conf.py
1 1
2 import multiprocessing 2 import multiprocessing
3 3
4 -bind = "127.0.0.1:8000"  
5 -workers = multiprocessing.cpu_count() + 1 4 +workers = multiprocessing.cpu_count() * 2 + 1
6 timeout = 300 5 timeout = 300
7 -worker_class = 'gevent' 6 +worker_class = 'eventlet'