forked from LBRYCommunity/lbry-sdk
do not search for the head blob
This commit is contained in:
parent
154c41bd8d
commit
90c8a8bea3
1 changed files with 0 additions and 4 deletions
|
@ -98,10 +98,6 @@ class StreamDownloader:
|
||||||
if not self.descriptor:
|
if not self.descriptor:
|
||||||
await self.load_descriptor(connection_id)
|
await self.load_descriptor(connection_id)
|
||||||
|
|
||||||
# add the head blob to the peer search
|
|
||||||
self.search_queue.put_nowait(self.descriptor.blobs[0].blob_hash)
|
|
||||||
log.info("added head blob to peer search for stream %s", self.sd_hash)
|
|
||||||
|
|
||||||
if not await self.blob_manager.storage.stream_exists(self.sd_hash) and save_stream:
|
if not await self.blob_manager.storage.stream_exists(self.sd_hash) and save_stream:
|
||||||
await self.blob_manager.storage.store_stream(
|
await self.blob_manager.storage.store_stream(
|
||||||
self.blob_manager.get_blob(self.sd_hash, length=self.descriptor.length), self.descriptor
|
self.blob_manager.get_blob(self.sd_hash, length=self.descriptor.length), self.descriptor
|
||||||
|
|
Loading…
Add table
Reference in a new issue