Skip to content

Commit 36e7acc

Browse files
authored
Merge pull request #23 from nisdas/patch-1
Add Prysm Flags to Reduce CPU Load
2 parents 7b359b1 + 9c9720c commit 36e7acc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/src/clients/prysm.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ impl Client for Prysm {
6161
--p2p-udp-port {PORT} \
6262
--p2p-host-ip {ip} \
6363
--http-port {BEACON_API_PORT} \
64+
--min-sync-peers 1 \
65+
--minimum-peers-per-subnet 0 \
6466
{} ",
6567
ctx.jwt_path().to_str().ok_or(Error::NonUTF8Path)?,
6668
ctx.cl_bootnode_enrs().join(" --bootstrap-node "),

0 commit comments

Comments
 (0)