summaryrefslogtreecommitdiffstats
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
commitc0ab6dbd13f26c7307b57a032da961bd6c49461c (patch)
tree373b3d300ec3252dfcc507d769e74a48286301bf /src/document/file.rs
parent968a28c6e68e35e127ec3dd20ed2a8eeb8b30cc0 (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;