Remove unneeded error "last successful id is higher than latest id" (fixes #4363) (#4486)

This commit is contained in:
Nutomic 2024-03-01 17:31:37 +01:00 committed by GitHub
parent e1b26897be
commit c895e57086
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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) => {},