Don't delete connecting sites at startup
This commit is contained in:
parent
6a240919bf
commit
f74ddc1010
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ class SiteManager(object):
|
|||
self.sites[address] = site
|
||||
self.log.debug("Loaded site %s in %.3fs" % (address, time.time() - s))
|
||||
added += 1
|
||||
elif startup and (settings.get("peers", 0) > 0 or settings.get("own")):
|
||||
elif startup:
|
||||
# No site directory, start download
|
||||
self.log.debug("Found new site in sites.json: %s" % address)
|
||||
gevent.spawn(self.need, address, settings=settings)
|
||||
|
|
Loading…
Reference in a new issue