瀏覽代碼

Routing Userguide: Fixed typo "feed": -> {"queue": "feeds"}. Closes #169. Thanks to jcassee.

Ask Solem 14 年之前
父節點
當前提交
6c68fc4024
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/userguide/routing.rst

+ 1 - 1
docs/userguide/routing.rst

@@ -28,7 +28,7 @@ Say you have two servers, ``x``, and ``y`` that handles regular tasks,
 and one server ``z``, that only handles feed related tasks. You can use this
 configuration::
 
-    CELERY_ROUTES = {"feed.tasks.import_feed": "feeds"}
+    CELERY_ROUTES = {"feed.tasks.import_feed": {"queue": "feeds"}}
 
 With this route enabled import feed tasks will be routed to the
 ``"feeds"`` queue, while all other tasks will be routed to the default queue