forked from LBRYCommunity/lbry-sdk
stop when data timeout
This commit is contained in:
parent
60ba07cc17
commit
04f70d1f31
1 changed files with 1 additions and 0 deletions
|
@ -274,6 +274,7 @@ class StreamManager:
|
||||||
except asyncio.CancelledError:
|
except asyncio.CancelledError:
|
||||||
downloader.stop()
|
downloader.stop()
|
||||||
log.debug("stopped stream")
|
log.debug("stopped stream")
|
||||||
|
await self.stop_stream(stream)
|
||||||
raise DownloadDataTimeout(downloader.sd_hash)
|
raise DownloadDataTimeout(downloader.sd_hash)
|
||||||
|
|
||||||
async def download_stream_from_claim(self, node: 'Node', claim_info: typing.Dict,
|
async def download_stream_from_claim(self, node: 'Node', claim_info: typing.Dict,
|
||||||
|
|
Loading…
Reference in a new issue