Switching BROKER_HOST to sqlite:// instead of sqlalchemy+sqlite://
authorChristopher Allan Webber <cwebber@dustycloud.org>
Sun, 22 Apr 2012 15:02:04 +0000 (10:02 -0500)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Sun, 22 Apr 2012 15:02:04 +0000 (10:02 -0500)
Okay, so if you run git master of kombu, this works.  And if you run
the older kombu + kombu-sqlalchemy, this also worked.  In the last
release of kombu (2.1.5) there's a bug, and sqlalchemy+sqlite://
worked for processes consuming tasks but not ones publishing tasks.

Aye aye aye.

I guess we might have to move our setup.py back to the old kombu +
kombu-sqlalchemy setup until they put out a new kombu release? :(

mediagoblin/config_spec.ini

index f8311dc5728af4a6b3698607c3b7c7e132c420e6..01853e48528b3522d0bd55361a9e5ce10d21156d 100644 (file)
@@ -117,7 +117,7 @@ CELERY_RESULT_DBURI = string(default="sqlite:///%(here)s/celery.db")
 
 # default kombu stuff
 BROKER_TRANSPORT = string(default="sqlalchemy")
-BROKER_HOST = string(default="sqlalchemy+sqlite:///%(here)s/kombu.db")
+BROKER_HOST = string(default="sqlite:///%(here)s/kombu.db")
 
 # known booleans
 CELERY_RESULT_PERSISTENT = boolean()