New submission from STINNER Victor <[email protected]>:
_SelectorTransport has the class attribute:
max_size = 256 * 1024 # Buffer size passed to recv().
But _ProactorReadPipeTransport uses an hardcoded chunk size of 32 KiB. It would
be nice to allow to configure this size.
By the way, _SelectorTransport.max_size has no public API to change the default
value for the whole process. The attribute can only be set per socket, since
_SelectorTransport is private. By the way, is the attribute documented?
----------
components: asyncio
messages: 318923
nosy: asvetlov, vstinner, yselivanov
priority: normal
severity: normal
status: open
title: asyncio: _ProactorReadPipeTransport reads by chunk of 32 KiB: chunk size
should be configurable
type: performance
versions: Python 3.8
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue33793>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com