Change from waffle to 1MB message limit.

This commit is contained in:
Andrew Godwin 2016-05-06 18:41:51 -07:00
parent feea84f323
commit f346585f7c

View File

@ -128,14 +128,11 @@ Messages should expire after a set time sitting unread in a channel;
the recommendation is one minute, though the best value depends on the the recommendation is one minute, though the best value depends on the
channel layer and the way it is deployed. channel layer and the way it is deployed.
The maximum message size is finite, though it varies based on the channel layer The maximum message size is 1MB; if more data than this needs to be transmitted
and the encoding it's using. Channel layers may reject messages at ``send()`` it should be chunked or placed onto its own single-reader channel (see how
time with a ``MessageTooLarge`` exception; the calling code should take HTTP request bodies are done, for example). All channel layers must support
appropriate action (e.g. HTTP responses can be chunked, while HTTP messages up to this size.
requests should be closed with a ``413 Request Entity Too Large`` response).
It is intended that some channel layers will only support messages of around a
megabyte, while others will be able to take a gigabyte or more, and that it
may be configurable.
Handling Protocols Handling Protocols
------------------ ------------------