Handle when source.last_crawl is None

This commit is contained in:
tcely authored and GitHub committed 2025-06-27 17:55:35 -04:00
1 parent 1c4da6641c
commit 23fcbf0048
1 file changed
+1 -1
+1 -1
View File
@@ -275,7 +275,7 @@ def schedule_indexing():
skip_source = (
not source.is_active or
source.target_schedule >= next_hour or
source.last_crawl >= previous_run
(source.last_crawl and source.last_crawl >= previous_run)
)
if skip_source:
continue