From c0ab6dbd13f26c7307b57a032da961bd6c49461c Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 26 Oct 2026 05:21:49 +0100 Subject: allow humand-friendly durations and sizes in CLI --- src/document/file.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/document') diff --git a/src/document/file.rs b/src/document/file.rs index 6e7a4b6..ed29e9b 100644 --- a/src/document/file.rs +++ b/src/document/file.rs @@ -9,10 +9,10 @@ //! //! Written by a worker (`run`), only while the node is ready and not rejoining (a rejoin //! keeps the old file until it is done): -//! * every `--document-append-secs`, what changed is appended; +//! * every `--document-append`, what changed is appended; //! * the whole file is rewritten, atomically, when the epoch or this node's actors //! changed (a switch, a rejoin, a restart), and when the appended increments outgrew -//! the full save, at most every `--document-rewrite-secs`; +//! the full save, at most every `--document-rewrite`; //! * at shutdown, what changed is appended. use std::collections::HashSet; -- cgit v1.3.1