##// END OF EJS Templates
move zero-copy threshold to 64kB
MinRK -
Show More
@@ -331,7 +331,7 b' class Session(Configurable):'
331 if not callable(new):
331 if not callable(new):
332 raise TypeError("unpacker must be callable, not %s"%type(new))
332 raise TypeError("unpacker must be callable, not %s"%type(new))
333
333
334 copy_threshold = Int(2**12, config=True,
334 copy_threshold = Int(2**16, config=True,
335 help="Threshold (in bytes) beyond which a buffer should be sent without copying.")
335 help="Threshold (in bytes) beyond which a buffer should be sent without copying.")
336
336
337 def __init__(self, **kwargs):
337 def __init__(self, **kwargs):
General Comments 0
You need to be logged in to leave comments. Login now