connector
This commit is contained in:
parent
1e031f2944
commit
385acb4f49
@ -73,10 +73,10 @@ class BlockLoader:
|
|||||||
if self.last_batch_size < 1000000 and self.rpc_batch_limit < 450:
|
if self.last_batch_size < 1000000 and self.rpc_batch_limit < 450:
|
||||||
self.rpc_batch_limit += 50
|
self.rpc_batch_limit += 50
|
||||||
self.log.warning("rpc batch limit %s " % self.rpc_batch_limit)
|
self.log.warning("rpc batch limit %s " % self.rpc_batch_limit)
|
||||||
elif self.last_batch_size > 40000000 and self.rpc_batch_limit > 80:
|
elif self.last_batch_size > 40000000 and self.rpc_batch_limit > 100:
|
||||||
self.rpc_batch_limit -= 40
|
self.rpc_batch_limit -= 40
|
||||||
self.log.warning("rpc batch limit %s " % self.rpc_batch_limit)
|
self.log.warning("rpc batch limit %s " % self.rpc_batch_limit)
|
||||||
elif self.last_batch_size > 80000000 and self.rpc_batch_limit < 80:
|
elif self.last_batch_size > 80000000 and self.rpc_batch_limit < 100:
|
||||||
self.rpc_batch_limit = 20
|
self.rpc_batch_limit = 20
|
||||||
|
|
||||||
self.log.warning("rpc batch limit %s " % self.rpc_batch_limit)
|
self.log.warning("rpc batch limit %s " % self.rpc_batch_limit)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user