Add support for changing default celery queue name

This commit is contained in:
Frank Hamand 2019-01-29 13:28:57 +00:00
parent b30e25d85a
commit 71d3d0d532
No known key found for this signature in database
GPG Key ID: 8EC213944E31752C
3 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,9 @@
master
------
* Fix dockerfile
* Add support for changing default celery queue name (using CELERY_DEFAULT_QUEUE env variable)
Version 0.11.14 Version 0.11.14
--------------- ---------------

View File

@ -13,6 +13,7 @@ RUN apk add --no-cache \
gcc \ gcc \
curl \ curl \
curl-dev \ curl-dev \
libcurl \
musl-dev \ musl-dev \
libffi-dev \ libffi-dev \
openldap-dev \ openldap-dev \

View File

@ -6,5 +6,6 @@ broker_url = environ_get_list(['CELERY_BROKER_URL', 'CACHE_URL'])
task_always_eager = environ_get_list(['CELERY_ALWAYS_EAGER', 'CELERY_TASK_ALWAYS_EAGER'], False) task_always_eager = environ_get_list(['CELERY_ALWAYS_EAGER', 'CELERY_TASK_ALWAYS_EAGER'], False)
backend = os.environ.get('CELERY_RESULT_BACKEND', None) backend = os.environ.get('CELERY_RESULT_BACKEND', None)
task_default_queue = os.environ.get('CELERY_DEFAULT_QUEUE', 'celery')
timezone = 'UTC' timezone = 'UTC'