Rev936, Fix Bootstrapper test without tormanager, Bootstrapper return latest announced peers, Only create 3 threads for passive peers

This commit is contained in:
HelloZeroNet 2016-03-04 19:59:59 +01:00
parent 6cbb6adcfc
commit 08005499fb
6 changed files with 25 additions and 4 deletions

View file

@ -46,7 +46,7 @@ class SitePlugin(object):
s = time.time()
need_types = ["ip4"]
if self.connection_server and self.connection_server.tor_manager.enabled:
if self.connection_server and self.connection_server.tor_manager and self.connection_server.tor_manager.enabled:
need_types.append("onion")
if mode == "start" or mode == "more": # Single: Announce only this site