Skip to content

Commit 162ebe5

Browse files
author
Ask Solem
committed
Routing Userguide: Fixed typo "feed": -> {"queue": "feeds"}. Closes celery#169. Thanks to jcassee.
1 parent b0fd93e commit 162ebe5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/userguide/routing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Say you have two servers, ``x``, and ``y`` that handles regular tasks,
2828
and one server ``z``, that only handles feed related tasks. You can use this
2929
configuration::
3030

31-
CELERY_ROUTES = {"feed.tasks.import_feed": "feeds"}
31+
CELERY_ROUTES = {"feed.tasks.import_feed": {"queue": "feeds"}}
3232

3333
With this route enabled import feed tasks will be routed to the
3434
``"feeds"`` queue, while all other tasks will be routed to the default queue

0 commit comments

Comments
 (0)