fix download being stopped if the sd blob downloaded and data did not start within the timeout
fixes https://github.com/lbryio/lbry/issues/1172
This commit is contained in:
parent
64a961c88c
commit
eb660e23b7
2 changed files with 2 additions and 1 deletions
|
@ -20,6 +20,7 @@ at anytime.
|
|||
* approximations of bid when cast from float to Decimal during publish
|
||||
* blob client protocol not tearing itself down properly after a failure (https://github.com/lbryio/lbry/issues/950)
|
||||
* lockup in wallet startup when one or more lbryumx servers are unavailable (https://github.com/lbryio/lbry/issues/1245)
|
||||
* download being stopped if the sd blob downloaded and data did not start within the timeout (https://github.com/lbryio/lbry/issues/1172)
|
||||
|
||||
### Deprecated
|
||||
*
|
||||
|
|
|
@ -702,7 +702,7 @@ class Daemon(AuthJSONRPCServer):
|
|||
log.warning('Failed to get %s (%s)', name, err)
|
||||
else:
|
||||
log.error('Failed to get %s (%s)', name, err)
|
||||
if self.streams[sd_hash].downloader:
|
||||
if self.streams[sd_hash].downloader and self.streams[sd_hash].code != 'running':
|
||||
yield self.streams[sd_hash].downloader.stop(err)
|
||||
result = {'error': err.message}
|
||||
finally:
|
||||
|
|
Loading…
Add table
Reference in a new issue