We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7ea04f commit 945b8adCopy full SHA for 945b8ad
docs/topics/worker.rst
@@ -58,8 +58,8 @@ name. We recommend you use ProtocolTypeRouter and ChannelNameRouter (see
58
application = ProtocolTypeRouter({
59
...
60
"channel": ChannelNameRouter({
61
- "thumbnails-generate": consumers.GenerateConsumer,
62
- "thumbnails-delete": consumers.DeleteConsumer,
+ "thumbnails-generate": consumers.GenerateConsumer.as_asgi(),
+ "thumbnails-delete": consumers.DeleteConsumer.as_asgi(),
63
}),
64
})
65
0 commit comments