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

view_mod_history_for_a_comment_or_post
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
1 changed files with 0 additions and 8 deletions

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