connector
This commit is contained in:
parent
783243681f
commit
58dd2b8fb8
@ -69,9 +69,9 @@ class BlockLoader:
|
||||
if self.parent.block_preload._store_size < self.parent.block_preload_cache_limit:
|
||||
try:
|
||||
if self.last_batch_size < 50000000:
|
||||
self.rpc_batch_limit += 10
|
||||
self.rpc_batch_limit += 1
|
||||
elif self.last_batch_size > 70000000 and self.rpc_batch_limit > 10:
|
||||
self.rpc_batch_limit -= 10
|
||||
self.rpc_batch_limit -= 1
|
||||
if self.last_batch_size > 800:
|
||||
self.last_batch_size = 800
|
||||
for i in self.worker_busy:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user