From c52d4b5ae43c202569c8801c312c2b56954ff8a0 Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 25 Oct 2026 23:00:56 +0100 Subject: add clock module The Clock module is the system clock that every unix timestamp new goes through. It comes with an offset that only tests can set. --- src/main.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index e494497..d1e8053 100644 --- a/src/main.rs +++ b/src/main.rs @@ -14,6 +14,7 @@ use tracing::{debug, error, info, warn}; mod api; mod backoff; +mod clock; mod config; mod document; mod files; @@ -178,6 +179,7 @@ async fn main() -> Result<()> { state_file, document_file, config_report: config.report(), + clock: Default::default(), }); let state = node.state.clone(); -- cgit v1.3.1