refactored lookup timer calls in communicator

This commit is contained in:
Kevin Froman 2019-08-11 15:44:16 -05:00
parent 00e2445475
commit 0e9da24d79
3 changed files with 4 additions and 12 deletions

View file

@ -49,4 +49,4 @@ def lookup_new_peer_transports_with_communicator(comm_inst):
for x in invalid:
newPeers.remove(x)
comm_inst.newPeers.extend(newPeers)
comm_inst.decrementThreadCount('lookupAdders')
comm_inst.decrementThreadCount('lookup_new_peer_transports_with_communicator')

View file

@ -89,5 +89,5 @@ def lookup_blocks_from_communicator(comm_inst):
if new_block_count > 1:
block_string = "s"
logger.info('Discovered %s new block%s' % (new_block_count, block_string), terminal=True)
comm_inst.decrementThreadCount('lookupBlocks')
comm_inst.decrementThreadCount('lookup_blocks_from_communicator')
return