Skip to content
Snippets Groups Projects
Commit 9693375a authored by Ben Adida's avatar Ben Adida
Browse files

upgraded kombu, looking good

parent 28f44817
No related branches found
No related tags found
No related merge requests found
Django==1.4.5 Django==1.4.5
South==0.7.3 South==0.7.3
amqplib==1.0.2
anyjson==0.3.1 anyjson==0.3.1
celery==2.3.3 celery==3.0.16
distribute==0.6.24 distribute==0.6.24
django-celery==2.3.3 django-celery==3.0.11
django-picklefield==0.1.9 django-picklefield==0.1.9
kombu==2.5.7 kombu==2.5.7
psycopg2==2.4.1 psycopg2==2.4.1
......
...@@ -85,7 +85,7 @@ INSTALLED_APPS = ( ...@@ -85,7 +85,7 @@ INSTALLED_APPS = (
'django.contrib.sites', 'django.contrib.sites',
## needed for queues ## needed for queues
'djcelery', 'djcelery',
'kombu', 'kombu.transport.django',
## needed for schema migration ## needed for schema migration
'south', 'south',
## HELIOS stuff ## HELIOS stuff
...@@ -185,11 +185,14 @@ logging.basicConfig( ...@@ -185,11 +185,14 @@ logging.basicConfig(
format = '%(asctime)s %(levelname)s %(message)s' format = '%(asctime)s %(levelname)s %(message)s'
) )
# BROKER_URL = "django://"
# set up django-celery # set up django-celery
BROKER_BACKEND = "djkombu.transport.DatabaseTransport"
CELERY_RESULT_DBURI = DATABASES['default']
import djcelery import djcelery
djcelery.setup_loader() djcelery.setup_loader()
BROKER_BACKEND = "kombu.transport.django"
CELERY_RESULT_DBURI = DATABASES['default']
# for testing # for testing
#CELERY_ALWAYS_EAGER = True #CELERY_ALWAYS_EAGER = True
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment