get search timeout from conf.settings

This commit is contained in:
Jack Robison 2017-12-06 19:51:50 -05:00
parent ac7ffdbf3a
commit b2a0aa21c9
No known key found for this signature in database
GPG key ID: 284699E7404E3CFF

View file

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