diff options
| author | tv <tv@krebsco.de> | 2026-10-26 05:21:49 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-10-26 05:21:49 +0100 |
| commit | 6978dc3c7d106a3d8212b22f63c00ca58dfef40c (patch) | |
| tree | ad63de60bf9b1c7b5b49bf64fef42bfd7b002692 /src/document | |
| parent | 9a6ddd492409801e68ee0c3656d399bf897824ba (diff) | |
allow humand-friendly durations and sizes in CLI
Diffstat (limited to 'src/document')
| -rw-r--r-- | src/document/file.rs | 4 |
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; |
