Upped read buffer limit to 1m bytes

This accomodates large tx sends of up to 500k bytes.
However they are unlikely to be propogated by your daemon as the
default relay limit it imposes is 100K.
This commit is contained in:
Neil Booth 2016-11-30 07:26:34 +09:00
parent 33510b1043
commit 15a88600eb
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
version 0.7.17
--------------
- upped read buffer limit to 1000000 bytes.
version 0.7.16
--------------

View File

@ -101,7 +101,7 @@ class JSONRPC(asyncio.Protocol, LoggedClass):
# 1000 are treated as 1000.
self.max_send = 0
# If buffered incoming data exceeds this the connection is closed
self.max_buffer_size = 150000
self.max_buffer_size = 1000000
self.anon_logs = False
def peername(self, *, for_log=True):