From 6d3dbcb129b67152c89bbbe2a7dad98b071bf838 Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 1 Dec 2026 13:19:32 +0000 Subject: 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. --- CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index 2000c11..fe0ba3e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -36,6 +36,13 @@ it from the release before ([`docs/operations.md`](docs/operations.md), ([`docs/configuration.md`](docs/configuration.md), [Importing values](docs/configuration.md#importing-values)). +* `--libp2p-ping-interval`: how often libp2p pings each connection, 15 s as before + unless given, `0` for once as it opens; and `--worker-threads`: how many threads take + the node's work in turns, as many as the machine has cores unless given. Both for + nodes on machines that should idle + ([`docs/operations.md`](docs/operations.md), [An idle node](docs/operations.md#an-idle-node); + [`docs/transports.md`](docs/transports.md), [Pings](docs/transports.md#pings)). + * The `config` crate takes variables of the program that uses it: `${var:NAME}`, or `$(var:NAME)`, is replaced by the one of that name (`Variables`, `Importer::fetch_with`), under the rules of every placeholder; an unknown one is an -- cgit v1.3.1