Browse Source

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.
master
Neil Booth 8 years ago
parent
commit
15a88600eb
  1. 5
      RELEASE-NOTES
  2. 2
      lib/jsonrpc.py

5
RELEASE-NOTES

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

2
lib/jsonrpc.py

@ -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):

Loading…
Cancel
Save