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

/tasks/search/ should apply some limit #11

Open
rohanpm opened this issue Feb 25, 2019 · 0 comments
Open

/tasks/search/ should apply some limit #11

rohanpm opened this issue Feb 25, 2019 · 0 comments

Comments

@rohanpm
Copy link
Owner

rohanpm commented Feb 25, 2019

When posting to /tasks/search/ on a Pulp server, we should apply some limit to the number of tasks fetched. Otherwise, if the Pulp server has too many tasks in the relevant states, these queries will slow down the server and probably time out.

For example:

  • limit result to 10000 tasks
  • if we hit the limit, the UI should complain/note about it somehow, so the user knows the displayed data may be incomplete
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

No branches or pull requests

1 participant