aboutsummaryrefslogtreecommitdiffstats
path: root/src/document/file.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-10-26 05:21:49 +0100
committertv <tv@krebsco.de>2026-10-26 05:21:49 +0100
commit6978dc3c7d106a3d8212b22f63c00ca58dfef40c (patch)
treead63de60bf9b1c7b5b49bf64fef42bfd7b002692 /src/document/file.rs
parent9a6ddd492409801e68ee0c3656d399bf897824ba (diff)
allow humand-friendly durations and sizes in CLI
Diffstat (limited to 'src/document/file.rs')
-rw-r--r--src/document/file.rs4
1 files changed, 2 insertions, 2 deletions
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;