mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 09:53:54 +01:00
ea467783e9
This commit changes the logic when garbage collecting forwarding packages such that they are removed once when the function is called, and then again upon subsequent ticks. This allows us to bump the peer timer to 1 hour to limit the number of db transactions happening in lnd. The forwarding packages need to be removed initially as otherwise a flappy node will never have them garbage collected. |
||
---|---|---|
.. | ||
brontide_test.go | ||
brontide.go | ||
config.go | ||
interfaces.go | ||
log.go | ||
test_utils.go |