Merge pull request #5006 from wpaulino/new-rate-limit-chan-updates

discovery: use token bucket based rate limiting to throttle gossip
This commit is contained in:
Conner Fromknecht authored and GitHub committed 2021-02-10 17:31:41 -08:00
commit 1ee5eb97d5
6 files changed
+94 -73

No files matched your search

-1
View File
@@ -281,7 +281,6 @@ func (cfg NodeConfig) genArgs() []string {
args = append(args, fmt.Sprintf("--invoicemacaroonpath=%v", cfg.InvoiceMacPath))
args = append(args, fmt.Sprintf("--trickledelay=%v", trickleDelay))
args = append(args, fmt.Sprintf("--profile=%d", cfg.ProfilePort))
args = append(args, fmt.Sprintf("--protocol.legacy.no-gossip-throttle"))
if !cfg.HasSeed {
args = append(args, "--noseedbackup")