forked from LBRYCommunity/lbry-sdk
fix unnecessary logging tag
This commit is contained in:
parent
1937eb17c4
commit
94a31922f7
1 changed files with 2 additions and 2 deletions
|
@ -83,12 +83,12 @@ class HTTPBlobDownloader(object):
|
||||||
def _write_blob(self, writer, blob):
|
def _write_blob(self, writer, blob):
|
||||||
response = yield self.client.get(url_for(choice(self.servers), blob.blob_hash))
|
response = yield self.client.get(url_for(choice(self.servers), blob.blob_hash))
|
||||||
if response.code != 200:
|
if response.code != 200:
|
||||||
log.debug('[Mirror] Missing a blob: %s', blob.blob_hash)
|
log.debug('Missing a blob: %s', blob.blob_hash)
|
||||||
if blob.blob_hash in self.blob_hashes:
|
if blob.blob_hash in self.blob_hashes:
|
||||||
self.blob_hashes.remove(blob.blob_hash)
|
self.blob_hashes.remove(blob.blob_hash)
|
||||||
defer.returnValue(False)
|
defer.returnValue(False)
|
||||||
|
|
||||||
log.debug('[Mirror] Download started: %s', blob.blob_hash)
|
log.debug('Download started: %s', blob.blob_hash)
|
||||||
blob.set_length(response.length)
|
blob.set_length(response.length)
|
||||||
yield self.client.collect(response, writer.write)
|
yield self.client.collect(response, writer.write)
|
||||||
defer.returnValue(True)
|
defer.returnValue(True)
|
||||||
|
|
Loading…
Reference in a new issue