Skip to content

Commit

Permalink
Mapping kiosk jobs to import queue.
Browse files Browse the repository at this point in the history
  • Loading branch information
holtgrewe committed Sep 30, 2021
1 parent d7328cb commit 70a4aff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Full Change List
- Auto-creating user ``kiosk_user`` when running in Kiosk mode.
- Using custom middleware for kiosk user (#215).
- Kiosk annotation now uses ``set -x`` flag if ``settings.DEBUG`` is true.
- Mapping kiosk jobs to import queue.

-------
v0.23.9
Expand Down
2 changes: 2 additions & 0 deletions config/celery.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
app.conf.task_routes = {
# The bulk import jobs share a common name pattern and should go to the "import" queue.
"*.run_import_*_bg_job": {"queue": "import"},
# Also use this for kiosk annotation and import jobs.
"*.run_kiosk_bg_job": {"queue": "import"},
# The filter tasks go to the "query" queue.
"*.*_filter_task": {"queue": "query"},
# The export tasks go to the "export" queue.
Expand Down

0 comments on commit 70a4aff

Please sign in to comment.