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

Add distinct set of limits for assets #4896

Merged
merged 1 commit into from
Nov 11, 2022
Merged

Conversation

Martchus
Copy link
Contributor

The generic default limit (that was taken from the "All tests" page for jobs) doesn't make any sense here so this change allows us to configure the limit for asset queries separately.

Related ticket: https://progress.opensuse.org/issues/120315

The generic default limit (that was taken from the "All tests" page for
jobs) doesn't make any sense here so this change allows us to configure the
limit for asset queries separately.

Related ticket: https://progress.opensuse.org/issues/120315
@Martchus
Copy link
Contributor Author

I've been increasing the defaults as this can apparently handle a large set of results in reasonable time, tested with OSD where we currently have the biggest number of assets. (The query for assets is rather simple compared to e.g. jobs.)

@codecov
Copy link

codecov bot commented Nov 11, 2022

Codecov Report

Merging #4896 (786037e) into master (900d1d5) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #4896   +/-   ##
=======================================
  Coverage   98.14%   98.14%           
=======================================
  Files         379      379           
  Lines       35233    35233           
=======================================
  Hits        34581    34581           
  Misses        652      652           
Impacted Files Coverage Δ
lib/OpenQA/Setup.pm 100.00% <ø> (ø)
t/config.t 100.00% <ø> (ø)
lib/OpenQA/WebAPI/Controller/API/V1/Asset.pm 97.72% <100.00%> (ø)
t/api/02-assets.t 95.83% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@mergify mergify bot merged commit 2b84746 into os-autoinst:master Nov 11, 2022
@Martchus Martchus deleted the limits branch November 11, 2022 11:09
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.

None yet

3 participants