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:
|
||||
downloader.stop()
|
||||
log.debug("stopped stream")
|
||||
await self.stop_stream(stream)
|
||||
raise DownloadDataTimeout(downloader.sd_hash)
|
||||
|
||||
async def download_stream_from_claim(self, node: 'Node', claim_info: typing.Dict,
|
||||
|
|
Loading…
Reference in a new issue