mirror of https://github.com/LemmyNet/lemmy.git
view_mod_history_for_a_comment_or_post
parent
e1b26897be
commit
c895e57086
|
@ -158,14 +158,6 @@ impl InstanceWorker {
|
||||||
latest_id
|
latest_id
|
||||||
};
|
};
|
||||||
if id >= 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
|
// no more work to be done, wait before rechecking
|
||||||
tokio::select! {
|
tokio::select! {
|
||||||
() = sleep(*WORK_FINISHED_RECHECK_DELAY) => {},
|
() = sleep(*WORK_FINISHED_RECHECK_DELAY) => {},
|
||||||
|
|
Loading…
Reference in New Issue