connector
This commit is contained in:
parent
b70827524a
commit
116527847e
@ -68,9 +68,9 @@ class BlockLoader:
|
||||
new_requests = 0
|
||||
if self.parent.block_preload._store_size < self.parent.block_preload_cache_limit:
|
||||
try:
|
||||
if self.last_batch_size < 20000000:
|
||||
if self.last_batch_size < 8000000:
|
||||
self.rpc_batch_limit += 10
|
||||
elif self.last_batch_size > 30000000 and self.rpc_batch_limit > 10:
|
||||
elif self.last_batch_size > 10000000 and self.rpc_batch_limit > 20:
|
||||
self.rpc_batch_limit -= 10
|
||||
if self.last_batch_size > 200:
|
||||
self.last_batch_size = 200
|
||||
|
||||
Loading…
Reference in New Issue
Block a user