Skip to content

Conversation

@ikreymer
Copy link
Member

@ikreymer ikreymer commented Oct 30, 2025

Use DB and query first N non-completed crawls (by start time), instead of querying all k8s crawljob objects.
Add additional index on crawls optimized for this query.

Follow-up to #2940 to make concurrent crawler queue efficient even when there is no limit set.

@ikreymer ikreymer requested a review from tw4l October 30, 2025 00:20
Copy link
Member

@tw4l tw4l left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Working well

@ikreymer
Copy link
Member Author

ikreymer commented Nov 4, 2025

Also checked locally that new index is being used.

@ikreymer ikreymer merged commit 9ab038a into main Nov 4, 2025
24 checks passed
@ikreymer ikreymer deleted the concurrent-check-optimize branch November 4, 2025 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants