connector

This commit is contained in:
4tochka 2019-05-10 21:36:25 +04:00
parent b845c2c7f4
commit 9040dc2f66

View File

@ -71,7 +71,7 @@ class BlockLoader:
if self.last_batch_size < 8000000:
self.rpc_batch_limit += 10
elif self.last_batch_size > 10000000 and self.rpc_batch_limit > 10:
self.rpc_batch_limit = 10
self.rpc_batch_limit = 50
if self.last_batch_size > 200:
self.last_batch_size = 200
for i in self.worker_busy: