mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
Issue #16787: Increase asyncore and asynchat default output buffers size, to
decrease CPU usage and increase throughput.
This commit is contained in:
parent
ef45380b6b
commit
fe22dcaba7
3 changed files with 7 additions and 4 deletions
|
@ -56,8 +56,8 @@ class async_chat (asyncore.dispatcher):
|
|||
|
||||
# these are overridable defaults
|
||||
|
||||
ac_in_buffer_size = 4096
|
||||
ac_out_buffer_size = 4096
|
||||
ac_in_buffer_size = 65536
|
||||
ac_out_buffer_size = 65536
|
||||
|
||||
# we don't want to enable the use of encoding by default, because that is a
|
||||
# sign of an application bug that we don't want to pass silently
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue