connector
This commit is contained in:
parent
e9757c4922
commit
c2ffec02d9
@ -424,7 +424,7 @@ class Connector:
|
|||||||
self.tx_cache.pop(h)
|
self.tx_cache.pop(h)
|
||||||
|
|
||||||
tx_rate = round(self.total_received_tx / (time.time() - self.start_time), 4)
|
tx_rate = round(self.total_received_tx / (time.time() - self.start_time), 4)
|
||||||
t = 10000 if not self.deep_synchronization else 10000
|
t = 10000 if not self.deep_synchronization else 100000
|
||||||
if (self.total_received_tx - self.total_received_tx_stat) > t:
|
if (self.total_received_tx - self.total_received_tx_stat) > t:
|
||||||
self.total_received_tx_stat = self.total_received_tx
|
self.total_received_tx_stat = self.total_received_tx
|
||||||
self.log.warning("Blocks %s; tx rate: %s;" % (block["height"], tx_rate))
|
self.log.warning("Blocks %s; tx rate: %s;" % (block["height"], tx_rate))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user