Commit f195bb8
committed
xpay: age askrene entries older than 1 week
We have set an exponential decay time for liquidity bounds with a
lifetime of 1 day, it halves every 16 hours. This parameter can be
tuned. But I think throwing away entries after 1 hour is too aggresive.
Better to remove them after 1 week. In that time it will be halved 10
times.
Changelog-None
Signed-off-by: Lagrang3 <lagrang3@protonmail.com>1 parent 03062fe commit f195bb8
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
34 | 37 | | |
35 | 38 | | |
36 | 39 | | |
| |||
2966 | 2969 | | |
2967 | 2970 | | |
2968 | 2971 | | |
2969 | | - | |
| 2972 | + | |
2970 | 2973 | | |
2971 | 2974 | | |
2972 | 2975 | | |
| |||
0 commit comments