lntest: use rpc-graph-cache-duration=100ms in itest

This commit is contained in:
yyforyongyu 2022-11-07 19:54:16 +08:00
parent 17f08a87db
commit 29b7903a28
No known key found for this signature in database
GPG Key ID: 9BCD95C4FF296868

View File

@ -224,7 +224,6 @@ func (cfg *BaseNodeConfig) GenArgs() []string {
fmt.Sprintf("--invoicemacaroonpath=%v", cfg.InvoiceMacPath),
fmt.Sprintf("--trickledelay=%v", trickleDelay),
fmt.Sprintf("--profile=%d", cfg.ProfilePort),
fmt.Sprintf("--caches.rpc-graph-cache-duration=%d", 0),
// Use a small batch window so we can broadcast our sweep
// transactions faster.
@ -233,7 +232,12 @@ func (cfg *BaseNodeConfig) GenArgs() []string {
// Use a small batch delay so we can broadcast the
// announcements quickly in the tests.
"--gossip.sub-batch-delay=5ms",
// Use a small cache duration so the `DescribeGraph` can be
// updated quicker.
"--caches.rpc-graph-cache-duration=100ms",
}
args = append(args, nodeArgs...)
if cfg.Password == nil {