connector

This commit is contained in:
4tochka 2019-05-10 21:44:30 +04:00
parent 9040dc2f66
commit ca4d82be0b

View File

@ -70,7 +70,7 @@ class BlockLoader:
try:
if self.last_batch_size < 8000000:
self.rpc_batch_limit += 10
elif self.last_batch_size > 10000000 and self.rpc_batch_limit > 10:
elif self.last_batch_size > 50000000 and self.rpc_batch_limit > 10:
self.rpc_batch_limit = 50
if self.last_batch_size > 200:
self.last_batch_size = 200