forked from LBRYCommunity/lbry-sdk
fix disabling blob announcement by setting concurrent announcers to 0
This commit is contained in:
parent
efb6af4d51
commit
917bae568d
1 changed files with 2 additions and 1 deletions
|
@ -21,6 +21,7 @@ class DHTHashAnnouncer(object):
|
||||||
self.sem = defer.DeferredSemaphore(self.concurrent_announcers)
|
self.sem = defer.DeferredSemaphore(self.concurrent_announcers)
|
||||||
|
|
||||||
def start(self):
|
def start(self):
|
||||||
|
if self.concurrent_announcers:
|
||||||
self._manage_lc.start(30)
|
self._manage_lc.start(30)
|
||||||
|
|
||||||
def stop(self):
|
def stop(self):
|
||||||
|
|
Loading…
Reference in a new issue