require there to be active torrents for dht checking to take place
This commit is contained in:
parent
00a88b0ff1
commit
c9ba1cd207
|
@ -993,7 +993,7 @@ class DelugeGTK:
|
|||
dht_peers = '?'
|
||||
if dht_peers == 0:
|
||||
self.dht_timer += 1
|
||||
if self.dht_timer == 15:
|
||||
if (self.dht_timer == 15) and (self.manager.get_state()['num_peers'] > 0):
|
||||
#dht has been on for 15 seconds but has 0 nodes
|
||||
#we probably have a corrupted dht.state file,
|
||||
#so let's clean things up
|
||||
|
|
Loading…
Reference in New Issue