mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 18:10:34 +01:00
104b7a09db
This commit fixes the issue where a wrong context being inherited to create a timeout context. When a parent context timed out, all its children contexts also timed out, even the children contexts had a larger timeout value. This means it only makes sense to inherite from a parent when its children have smaller timeout value. Given the setup of the itest, all the timeout contexts need to be created from a context background(hence no timeout on the parent) unless there's an explicit timeout bound we want to set. |
||
---|---|---|
.. | ||
channels | ||
itest | ||
mock | ||
wait | ||
bitcoind_common.go | ||
bitcoind_notxindex.go | ||
bitcoind.go | ||
btcd.go | ||
doc.go | ||
fee_service_test.go | ||
fee_service.go | ||
harness.go | ||
neutrino.go | ||
node.go | ||
timeouts_darwin.go | ||
timeouts_etcd.go | ||
timeouts.go |