refactored onionrpeers into a module
This commit is contained in:
parent
ec2f24b257
commit
021fa87f30
5 changed files with 95 additions and 58 deletions
|
@ -210,7 +210,7 @@ class OnionrCommunicatorDaemon:
|
|||
|
||||
def peerCleanup(self):
|
||||
'''This just calls onionrpeers.cleanupPeers, which removes dead or bad peers (offline too long, too slow)'''
|
||||
onionrpeers.peerCleanup(self._core)
|
||||
onionrpeers.peer_cleanup(self._core)
|
||||
self.decrementThreadCount('peerCleanup')
|
||||
|
||||
def getPeerProfileInstance(self, peer):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue