websockets
websockets copied to clipboard
"Memory and Buffers" docs and max_queue in threading implementation
I believe the topic page "Memory and Buffers" in the documentation might need to be updated - in the end it says:
In the 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.
But looks like max_queue exists in the threading implementation - I guess works the same as in the asyncio one?
Good catch, thank you. I think it wasn't there in the initial version, then got added later as a performance optimization. Yes it has the same semantics as in the asyncio implementation.