Add count limit for jobs query
What does this MR do and why?
Adds the limit to the query that was introduced recently in !89642 (merged).
This will prevent timing out on projects that have lots of job records.
Screenshots or screen recordings
How to set up and validate locally
- Enable
jobs_table_vue
andjobs_table_vue_search
in the rails console - Visit CI/CD > Jobs
Things to verify
- Pagination is working (infinite scrolling)
- Jobs are returned with count (can edit code locally with smaller count than 1000)
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Payton Burdette