diff --git a/schedule/reschedule.py b/schedule/reschedule.py index 6f183d3..a9f2220 100644 --- a/schedule/reschedule.py +++ b/schedule/reschedule.py @@ -68,7 +68,7 @@ def set_load_balance(self, did_query=None): FROM revlog WHERE ease > 0 AND (type < 3 OR factor != 0) - AND id >= {mw.col.sched.day_cutoff * 1000}""" + AND id/1000 >= {mw.col.sched.day_cutoff - 86400}""" ) def set_fuzz_factor(self, cid: int, reps: int):