stop when data timeout

This commit is contained in:
Victor Shyba 2019-02-13 22:38:51 -03:00 committed by Lex Berezhny
parent 60ba07cc17
commit 04f70d1f31

View file

@ -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,