Compare the previous crawl time to the upcoming hour

This commit is contained in:
tcely authored and GitHub committed 2025-06-15 18:02:46 -04:00
1 parent 4408af7925
commit 190412a0aa
1 file changed
+1 -1
+1 -1
View File
@@ -235,7 +235,7 @@ def schedule_indexing():
index_schedule__gt=Val(IndexSchedule.NEVER),
)
for source in qs_gen(qs):
previous_run = now - timezone.timedelta(
previous_run = next_hour - timezone.timedelta(
seconds=source.index_schedule
)
skip_source = (