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,7 +21,8 @@ class DHTHashAnnouncer(object):
|
|||
self.sem = defer.DeferredSemaphore(self.concurrent_announcers)
|
||||
|
||||
def start(self):
|
||||
self._manage_lc.start(30)
|
||||
if self.concurrent_announcers:
|
||||
self._manage_lc.start(30)
|
||||
|
||||
def stop(self):
|
||||
if self._manage_lc.running:
|
||||
|
|
Loading…
Reference in a new issue