forked from LBRYCommunity/lbry-sdk
get search timeout from conf.settings
This commit is contained in:
parent
ac7ffdbf3a
commit
b2a0aa21c9
1 changed files with 1 additions and 1 deletions
|
@ -768,7 +768,7 @@ class Daemon(AuthJSONRPCServer):
|
||||||
downloader.cancel()
|
downloader.cancel()
|
||||||
|
|
||||||
d = defer.succeed(None)
|
d = defer.succeed(None)
|
||||||
reactor.callLater(self.search_timeout, _check_est, d)
|
reactor.callLater(conf.settings['search_timeout'], _check_est, d)
|
||||||
d.addCallback(
|
d.addCallback(
|
||||||
lambda _: download_sd_blob(
|
lambda _: download_sd_blob(
|
||||||
self.session, sd_hash, self.session.payment_rate_manager))
|
self.session, sd_hash, self.session.payment_rate_manager))
|
||||||
|
|
Loading…
Reference in a new issue