Skip to content

Commit f16363b

Browse files
Lagrang3ShahanaFarooqui
authored andcommitted
renepay: small tweak to decay time
The time of decay "TIMER_FORGET_SEC" was set to 1 hour, which is very low, it would make the plugin try depleted channels after just a couple of seconds for very small amounts. I set it to 1 week ~ 6e5 seconds. Signed-off-by: Lagrang3 <[email protected]>
1 parent 5ef5739 commit f16363b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/renepay/renepayconfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
/* Knowledge is proportionally decreased with time up to TIMER_FORGET_SEC when
88
* we forget everything. */
9-
#define TIMER_FORGET_SEC 3600
9+
#define TIMER_FORGET_SEC 600000
1010

1111
/* Time lapse used to wait for failed sendpays. */
1212
#define COLLECTOR_TIME_WINDOW_MSEC 50

0 commit comments

Comments
 (0)