connector
This commit is contained in:
parent
0e412c6643
commit
73f3a2b277
@ -387,6 +387,7 @@ class Connector:
|
||||
self.log.info("Blocks decode time %s;" % self.blocks_decode_time)
|
||||
self.log.info("Blocks non cached %s;" % self.non_cached_blocks)
|
||||
self.log.warning("Blocks cache %s;" % self.block_preload.len())
|
||||
self.log.warning("Blocks cache last %s;" % self.block_preload.get_last_key())
|
||||
|
||||
# after block added handler
|
||||
if self.after_block_handler and not self.cache_loading:
|
||||
@ -665,6 +666,7 @@ class Connector:
|
||||
|
||||
if self.block_preload.len() < 50000:
|
||||
continue
|
||||
self.log.critical(str((processed_height, self.last_block_height)))
|
||||
for i in range(processed_height, self.last_block_height):
|
||||
self.block_preload.remove(i)
|
||||
processed_height = self.last_block_height
|
||||
|
||||
Loading…
Reference in New Issue
Block a user