multi: make SubBatchDelay configurable

This commit adds a new config option `--gossip.sub-batch-delay` so we
can speed up our itest.
This commit is contained in:
yyforyongyu committed 2023-02-17 14:10:09 +08:00
1 parent c6c218f384
commit c3d1d3c4f1
6 files changed
+16 -1

No files matched your search

+1
View File
@@ -629,6 +629,7 @@ func DefaultConfig() Config {
Gossip: &lncfg.Gossip{
MaxChannelUpdateBurst: discovery.DefaultMaxChannelUpdateBurst,
ChannelUpdateInterval: discovery.DefaultChannelUpdateInterval,
SubBatchDelay: discovery.DefaultSubBatchDelay,
},
Invoices: &lncfg.Invoices{
HoldExpiryDelta: lncfg.DefaultHoldInvoiceExpiryDelta,