From c895e5708619fcebe2e75d905d258177ff08100b Mon Sep 17 00:00:00 2001 From: Nutomic Date: Fri, 1 Mar 2024 17:31:37 +0100 Subject: [PATCH] Remove unneeded error "last successful id is higher than latest id" (fixes #4363) (#4486) --- crates/federate/src/worker.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/crates/federate/src/worker.rs b/crates/federate/src/worker.rs index 0155ecd9b..eb209fd50 100644 --- a/crates/federate/src/worker.rs +++ b/crates/federate/src/worker.rs @@ -158,14 +158,6 @@ impl InstanceWorker { latest_id }; if id >= latest_id { - if id > latest_id { - tracing::error!( - "{}: last successful id {} is higher than latest id {} in database (did the db get cleared?)", - self.instance.domain, - id.0, - latest_id.0 - ); - } // no more work to be done, wait before rechecking tokio::select! { () = sleep(*WORK_FINISHED_RECHECK_DELAY) => {},