aboutsummaryrefslogtreecommitdiffstats
path: root/src/transport/libp2p/mod.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-12-01 13:19:32 +0000
committertv <tv@krebsco.de>2026-12-01 13:19:32 +0000
commit6d3dbcb129b67152c89bbbe2a7dad98b071bf838 (patch)
tree8f92769b83f802950e0cc0b42be89653c74b2037 /src/transport/libp2p/mod.rs
parent82bb426dcd22268a960d35d7b8c947b864a6ddf5 (diff)
Two options for a node on a machine that should idle
--libp2p-ping-interval: how often libp2p pings each open connection, 15 s unless given, 0 for once as it opens. The pings keep no connection open and close none; continuum takes each connection's round trip from them, to keep the fastest of several to one peer. --worker-threads: how many threads take the node's work in turns, as many as the machine has cores unless given. The runtime is built from the configuration, so the count is set as the node starts. Each wakes the node's threads less often; docs/operations.md, An idle node, says what to choose, and what was measured.
Diffstat (limited to 'src/transport/libp2p/mod.rs')
0 files changed, 0 insertions, 0 deletions