connector
This commit is contained in:
parent
eadd36fd36
commit
08f2db7a9f
@ -622,6 +622,7 @@ class Connector:
|
|||||||
while height < max_height:
|
while height < max_height:
|
||||||
if self.last_block_height - height < 44000:
|
if self.last_block_height - height < 44000:
|
||||||
try:
|
try:
|
||||||
|
self.log.critical(str(height))
|
||||||
batch = list()
|
batch = list()
|
||||||
h_list = list()
|
h_list = list()
|
||||||
while True:
|
while True:
|
||||||
@ -657,7 +658,6 @@ class Connector:
|
|||||||
pass
|
pass
|
||||||
if self.block_preload.len() < 50000:
|
if self.block_preload.len() < 50000:
|
||||||
continue
|
continue
|
||||||
self.log.critical(str(height))
|
|
||||||
await asyncio.sleep(10)
|
await asyncio.sleep(10)
|
||||||
# remove unused items
|
# remove unused items
|
||||||
[self.block_preload.remove(i) for i in range(processed_height,
|
[self.block_preload.remove(i) for i in range(processed_height,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user