Don't annunce site if not serving
This commit is contained in:
parent
1f9eafa619
commit
6eb79ba75e
1 changed files with 2 additions and 1 deletions
|
@ -818,6 +818,7 @@ class Site(object):
|
|||
return peer
|
||||
|
||||
def announce(self, *args, **kwargs):
|
||||
if self.isServing():
|
||||
self.announcer.announce(*args, **kwargs)
|
||||
|
||||
# Keep connections to get the updates
|
||||
|
|
Loading…
Reference in a new issue