Skip to content

Commit

Permalink
Increased chunk size to improve multi-client response time and throug…
Browse files Browse the repository at this point in the history
…hput of large data #329
  • Loading branch information
comrumino committed Jun 26, 2019
1 parent 9589ec6 commit 5a63c64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpyc/core/stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class SocketStream(Stream):
"""A stream over a socket"""

__slots__ = ("sock",)
MAX_IO_CHUNK = 8000
MAX_IO_CHUNK = 64000 # read/write chunk is 64KB, too large of a value will degrade response for other clients

def __init__(self, sock):
self.sock = sock
Expand Down

0 comments on commit 5a63c64

Please # to comment.