From 0ebc7a7e3b33d8f1e184d0339ce3a49db87e897c Mon Sep 17 00:00:00 2001 From: Charles Connell Date: Tue, 27 May 2014 12:10:32 -0400 Subject: [PATCH] celery queue name setting --- .env.example | 2 ++ karmaworld/settings/common.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.env.example b/.env.example index f2ac734..2e15d26 100644 --- a/.env.example +++ b/.env.example @@ -19,6 +19,8 @@ FILEPICKER_SECRET='MORENONSENSEASCII' INDEXDEN_PRIVATE_URL='http://:@.api.indexden.com' INDEXDEN_INDEX='index_name' +CELERY_QUEUE_NAME='karmanotes_celery' + #TWITTER_CONSUMER_KEY='' #TWITTER_CONSUMER_SECRET='' #TWITTER_ACCESS_TOKEN_KEY='' diff --git a/karmaworld/settings/common.py b/karmaworld/settings/common.py index 46d0a88..a679864 100644 --- a/karmaworld/settings/common.py +++ b/karmaworld/settings/common.py @@ -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 -- 2.25.1