Skip to content

Commit

Permalink
Add support for changing default celery queue name
Browse files Browse the repository at this point in the history
  • Loading branch information
frankh committed Jan 29, 2019
1 parent b30e25d commit 71d3d0d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -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
---------------

Expand Down
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ RUN apk add --no-cache \
gcc \
curl \
curl-dev \
libcurl \
musl-dev \
libffi-dev \
openldap-dev \
Expand Down
1 change: 1 addition & 0 deletions cabot/celeryconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@

task_always_eager = environ_get_list(['CELERY_ALWAYS_EAGER', 'CELERY_TASK_ALWAYS_EAGER'], False)
backend = os.environ.get('CELERY_RESULT_BACKEND', None)
task_default_queue = os.environ.get('CELERY_DEFAULT_QUEUE', 'celery')

timezone = 'UTC'

0 comments on commit 71d3d0d

Please sign in to comment.