From 294e60504e50c01ebd78f2d3e37cbc438997576b Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Tue, 28 Mar 2017 10:08:23 -0700 Subject: [PATCH] Add capacity note about process-local channels. --- docs/asgi.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/asgi.rst b/docs/asgi.rst index 893ef76..1b00642 100644 --- a/docs/asgi.rst +++ b/docs/asgi.rst @@ -309,6 +309,10 @@ for example, a web application trying to send a response body will likely wait until it empties out again, while a HTTP interface server trying to send in a request would drop the request and return a 503 error. +Process-local channels must apply their capacity on the non-local part (that is, +up to and including the ``!`` character), and so capacity is shared among all +of the "virtual" channels inside it. + Sending to a group never raises ChannelFull; instead, it must silently drop the message if it is over capacity, as per ASGI's at-most-once delivery policy.