should_announce should be True by default
This commit is contained in:
parent
0494b11001
commit
c8bf1d8908
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ class DiskBlobManager(DHTHashSupplier):
|
||||||
raise Exception("Hash announcer not set")
|
raise Exception("Hash announcer not set")
|
||||||
|
|
||||||
@defer.inlineCallbacks
|
@defer.inlineCallbacks
|
||||||
def blob_completed(self, blob, next_announce_time=None, should_announce=False):
|
def blob_completed(self, blob, next_announce_time=None, should_announce=True):
|
||||||
if next_announce_time is None:
|
if next_announce_time is None:
|
||||||
next_announce_time = self.get_next_announce_time()
|
next_announce_time = self.get_next_announce_time()
|
||||||
yield self._add_completed_blob(blob.blob_hash, blob.length,
|
yield self._add_completed_blob(blob.blob_hash, blob.length,
|
||||||
|
|
Loading…
Reference in a new issue