From: Charles Connell Date: Tue, 27 May 2014 16:10:32 +0000 (-0400) Subject: celery queue name setting X-Git-Tag: release-20150131~30 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0ebc7a7e3b33d8f1e184d0339ce3a49db87e897c;p=oweals%2Fkarmaworld.git celery queue name setting --- 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