refactored lookup timer calls in communicator
This commit is contained in:
parent
00e2445475
commit
0e9da24d79
3 changed files with 4 additions and 12 deletions
|
@ -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')
|
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue