Skip to content

Commit 872c5dc

Browse files
committed
chore: tiny bugfix
1 parent 9903e02 commit 872c5dc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

datajoint/autopopulate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ def schedule_jobs(self, *restrictions, purge_invalid_jobs=True, min_scheduling_i
482482
self._Jobs.proj(last_scheduled="TIMESTAMPDIFF(SECOND, timestamp, UTC_TIMESTAMP())")
483483
& {"table_name": f"__{self.target.table_name}__"}
484484
& {"key_hash": key_hash(__scheduled_event)}
485-
& f"last_scheduled >= {min_scheduling_interval}"
485+
& f"last_scheduled <= {min_scheduling_interval}"
486486
)
487487
if recent_scheduling_event:
488488
logger.debug(f"Skipping jobs scheduling for `{to_camel_case(self.target.table_name)}` (last scheduling event was {recent_scheduling_event.fetch1('last_scheduled')} seconds ago)")

0 commit comments

Comments
 (0)