connector
This commit is contained in:
parent
749bcd0fbd
commit
2f703aaea4
@ -165,7 +165,7 @@ class BlockLoader:
|
|||||||
|
|
||||||
if msg_type == b'result':
|
if msg_type == b'result':
|
||||||
self.worker_busy[index] = False
|
self.worker_busy[index] = False
|
||||||
if len(msg) < 80000000:
|
if len(msg) < 80000000 and self.rpc_batch_limit < 300:
|
||||||
self.rpc_batch_limit += 10
|
self.rpc_batch_limit += 10
|
||||||
elif len(msg) > 100000000 and self.rpc_batch_limit > 10:
|
elif len(msg) > 100000000 and self.rpc_batch_limit > 10:
|
||||||
self.rpc_batch_limit -= 10
|
self.rpc_batch_limit -= 10
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user