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

This commit is contained in:
Felix Ableitner 2024-03-01 14:33:06 +01:00
parent 328a48c9f5
commit bc60fea3b3

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