Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit the amount of runs returned by GetRunsActive. #626

Merged
merged 6 commits into from
Nov 20, 2023
Merged

Limit the amount of runs returned by GetRunsActive. #626

merged 6 commits into from
Nov 20, 2023

Conversation

dsuhinin
Copy link
Collaborator

@dsuhinin dsuhinin commented Nov 20, 2023

What's inside the box:

  • apply default limit - 50 for AIM GetRunsActive endpoint to decrease overall pressure to database, service and UI.

@dsuhinin dsuhinin linked an issue Nov 20, 2023 that may be closed by this pull request
pkg/api/aim/runs.go Outdated Show resolved Hide resolved
jgiannuzzi
jgiannuzzi previously approved these changes Nov 20, 2023
@dsuhinin dsuhinin changed the title Limit number of active runs to be fetched by default = 100. Limit the amount of runs returned by GetRunsActive. Nov 20, 2023
@dsuhinin dsuhinin merged commit 0a3b110 into G-Research:main Nov 20, 2023
17 checks passed
@dsuhinin dsuhinin deleted the dsuhinin/get-active-runs-endpoint-fix branch November 20, 2023 17:18
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.

Limit the amount of runs returned by GetRunsActive
2 participants