multi: add new config QuiescenceTimeout

This commit makes removes the `defaultQuiescenceTimeout` and makes it
configurable as different nodes have different network environment. In
addition the default timeout has been increased from 30s to 60s.
This commit is contained in:
yyforyongyu committed 2025-07-04 04:19:59 +08:00
1 parent 8a03414190
commit 127b0e9f41
7 files changed
+37 -7

No files matched your search

+1
View File
@@ -751,6 +751,7 @@ func DefaultConfig() Config {
Sweeper: lncfg.DefaultSweeperConfig(),
Htlcswitch: &lncfg.Htlcswitch{
MailboxDeliveryTimeout: htlcswitch.DefaultMailboxDeliveryTimeout,
QuiescenceTimeout: lncfg.DefaultQuiescenceTimeout,
},
GRPC: &GRPCConfig{
ServerPingTime: defaultGrpcServerPingTime,