v2026.06.3
This commit is contained in:
@@ -494,7 +494,7 @@ class MigrationJobQueue:
|
||||
|
||||
def _materialize_due_schedules(self):
|
||||
now = datetime.now()
|
||||
grace_cutoff = now - timedelta(seconds=Config.SCHEDULE_GRACE_SECONDS)
|
||||
grace_cutoff = now - timedelta(seconds=max(Config.SCHEDULE_GRACE_SECONDS, Config.QUEUE_POLL_SECONDS))
|
||||
with self._get_engine().connect() as conn:
|
||||
due_rows = conn.execute(self._text(f"""
|
||||
SELECT *
|
||||
|
||||
Reference in New Issue
Block a user