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/remake/quarantine.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/remake/quarantine.rs') diff --git a/src/remake/quarantine.rs b/src/remake/quarantine.rs index 1090e2c..e7ef136 100644 --- a/src/remake/quarantine.rs +++ b/src/remake/quarantine.rs @@ -31,7 +31,6 @@ use super::api::error_response; use super::delta; use super::kind::Translator; use super::local::Quarantined; -use super::records::unix_millis; use crate::document::replica::Epoch; use crate::document::store; @@ -90,7 +89,7 @@ pub(super) fn add( id: id.clone(), epoch, target, - created_at: unix_millis(), + created_at: host.now_millis(), reason, paths, document: document.clone(), -- cgit v1.3.1