aboutsummaryrefslogtreecommitdiffstats
path: root/les/helper_test.go
diff options
context:
space:
mode:
authorFelföldi Zsolt <zsfelfoldi@gmail.com>2018-02-05 21:41:53 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-02-05 21:41:53 +0800
commitc3f238dd5371961d309350fb0f9d5136c9fc6afa (patch)
tree8879532944de4818030c0e8630613e52885695b6 /les/helper_test.go
parentbc0666fb277be5e7d1fd7c5523a3b335b310a154 (diff)
downloaddexon-c3f238dd5371961d309350fb0f9d5136c9fc6afa.tar.gz
dexon-c3f238dd5371961d309350fb0f9d5136c9fc6afa.tar.zst
dexon-c3f238dd5371961d309350fb0f9d5136c9fc6afa.zip
les: limit LES peer count and improve peer configuration logic (#16010)
* les: limit number of LES connections * eth, cmd/utils: light vs max peer configuration logic
Diffstat (limited to 'les/helper_test.go')
-rw-r--r--les/helper_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/les/helper_test.go b/les/helper_test.go
index 57e693996..1c1de64ad 100644
--- a/les/helper_test.go
+++ b/les/helper_test.go
@@ -176,7 +176,7 @@ func newTestProtocolManager(lightSync bool, blocks int, generator func(int, *cor
srv.fcManager = flowcontrol.NewClientManager(50, 10, 1000000000)
srv.fcCostStats = newCostStats(nil)
}
- pm.Start()
+ pm.Start(1000)
return pm, nil
}