Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/topics/memory.rst
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,6 @@ and :func:`~asyncio.server.serve` varies across implementations.
use up to 4 bytes of memory per character, the queue may use up to ``4 *
max_size * max_queue`` bytes of memory. By default, this is 128 MiB.

* In the :mod:`threading` implementation, there is no queue of incoming
messages. The ``max_queue`` argument doesn't exist. The connection keeps at
most one message in memory at a time.
* In the :mod:`threading` implementation, ``max_queue`` is the high-water mark
of a queue of incoming frames. It defaults to 16 frames. It has the same
semantics as in the new :mod:`asyncio` implementation described above.