config+server+lnd_test: expose chan status manager config options

Exposes the three parameters that dictate
the behavior of the channel status manager:
 * --chan-enable-timeout
 * --chan-disable-timeout
 * --chan-status-sample-interval
This commit is contained in:
Conner Fromknecht committed 2019-02-14 17:13:11 -08:00
1 parent cd467195d7
commit 4686db4196
3 files changed
+39 -33

No files matched your search

+1 -1
View File
@@ -3105,7 +3105,7 @@ func (s *server) watchChannelStatus() {
status := make(map[wire.OutPoint]activeStatus)
// We'll check in on the channel statuses every 1/4 of the timeout.
unchangedTimeout := cfg.InactiveChanTimeout
unchangedTimeout := cfg.ChanDisableTimeout
tickerTimeout := unchangedTimeout / 4
if unchangedTimeout == 0 || tickerTimeout == 0 {