celery queue name setting
authorCharles Connell <charles@connells.org>
Tue, 27 May 2014 16:10:32 +0000 (12:10 -0400)
committerCharles Connell <charles@connells.org>
Tue, 27 May 2014 16:10:32 +0000 (12:10 -0400)
.env.example
karmaworld/settings/common.py

index f2ac7347243cacfbcd4cc68313fd362d76279603..2e15d265665937fcd30e035ee50cfc89831bdc92 100644 (file)
@@ -19,6 +19,8 @@ FILEPICKER_SECRET='MORENONSENSEASCII'
 INDEXDEN_PRIVATE_URL='http://:<password>@<something>.api.indexden.com'
 INDEXDEN_INDEX='index_name'
 
+CELERY_QUEUE_NAME='karmanotes_celery'
+
 #TWITTER_CONSUMER_KEY=''
 #TWITTER_CONSUMER_SECRET=''
 #TWITTER_ACCESS_TOKEN_KEY=''
index 46d0a8859eea5ce14d94e9d0ab34c6cc631e73ae..a679864a60ea11152591ba6f58ea2d2b7b66dbe1 100644 (file)
@@ -326,6 +326,8 @@ CELERY_TASK_RESULT_EXPIRES = timedelta(minutes=30)
 
 # See: http://celery.github.com/celery/django/
 setup_loader()
+
+CELERY_DEFAULT_QUEUE = os.environ['CELERY_QUEUE_NAME']
 ########## END CELERY CONFIGURATION