Permalink
Browse files

Go go gadget eventlet.

  • Loading branch information...
1 parent 32bb96f commit 9fcc62c7e5eacdc529bb51615ed60849952d3173 @coderanger committed Jul 30, 2011
Showing with 5 additions and 5 deletions.
  1. +1 −1 Termfile
  2. +1 −1 epio.ini
  3. +1 −2 glitchtools/users/views.py
  4. +1 −1 glitchtools/utils/api.py
  5. +1 −0 requirements.txt
View
2 Termfile
@@ -3,6 +3,6 @@ run 'gitx'
run 'open http://localhost:8000/'
run 'python manage.py shell'
tab 'python manage.py runserver'
-tab 'python manage.py celeryd -BE -l debug'
+tab 'python manage.py celeryd -BE -l debug -P eventlet -c 1000'
tab 'python manage.py celerycam'
tab 'compass watch glitchtools/'
View
2 epio.ini
@@ -32,7 +32,7 @@ base = glitchtools
djcelery = true
[process-celeryd]
-command = python manage.py celeryd -n fakehost-%(app_id)s-p%(port)s.celery -BE --pidfile=../data/celeryd.pid
+command = python manage.py celeryd -n fakehost-%(app_id)s-p%(port)s.celery -BE --pidfile=../data/celeryd.pid -P eventlet -c 1000
[process-celerycam]
command = python manage.py celerycam --pidfile=../data/celeryev.pid
View
3 glitchtools/users/views.py
@@ -2,10 +2,9 @@
from django.conf import settings
from django.contrib.auth import authenticate, login as django_login
-from django.contrib.auth.models import User
from django.core.urlresolvers import reverse
from django.http import HttpResponseRedirect
-import requests
+from requests import async as requests
from glitchtools.users.models import GlitchUser
from glitchtools.utils import json
View
2 glitchtools/utils/api.py
@@ -1,5 +1,5 @@
from django.conf import settings
-import requests
+from requests import async as requests
from glitchtools.utils import json
View
1 requirements.txt
@@ -3,3 +3,4 @@ Django-Celery
requests
South
redis==2.4.9
+eventlet

0 comments on commit 9fcc62c

Please sign in to comment.