fix: keep background add crawls runnable

This commit is contained in:
Nick Sweeting 2026-06-02 18:53:59 -07:00
parent 39eac65ed0
commit e4ec848da8
No known key found for this signature in database

View File

@ -194,7 +194,7 @@ def add(
label=f"{USER}@{HOSTNAME} $ {cmd_str} [{timestamp}]",
created_by_id=created_by_id,
status=Crawl.StatusChoices.QUEUED,
retry_at=None if (index_only or bg) else timezone.now(),
retry_at=None if index_only else timezone.now(),
config=crawl_config,
)