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

Project.autocomplete does not guard against many projects #6558

Closed
hennevogel opened this issue Dec 10, 2018 · 0 comments
Closed

Project.autocomplete does not guard against many projects #6558

hennevogel opened this issue Dec 10, 2018 · 0 comments
Assignees
Labels
Bug Frontend Things related to the OBS RoR app good first issue Easy task, perfect for a first contribution

Comments

@hennevogel
Copy link
Member

On the reference server we have 57K confirmed users. Which means 57K projects called home:$something. Enter home: in any project autocomplete form and watch the system load 57K records. That should not happen.

@hennevogel hennevogel added Bug Frontend Things related to the OBS RoR app good first issue Easy task, perfect for a first contribution labels Dec 10, 2018
@bgeuken bgeuken self-assigned this Dec 12, 2018
bgeuken added a commit to bgeuken/open-build-service that referenced this issue Dec 12, 2018
We have a couple of pages that offer auto completion of searches of
packages, group and alike.
Depending on the search string this can return a lot of results and as
a result freeze the user's browser. Because of that, and because a
huge list of proposed projects (or groups, or ...) won't help users
anyway, we limit the returned results to 50.

Fixes openSUSE#6558
bgeuken added a commit to bgeuken/open-build-service that referenced this issue Dec 12, 2018
We have a couple of pages that offer auto completion of searches of
packages, group and alike.
Depending on the search string this can return a lot of results and as
a result freeze the user's browser. Because of that, and because a
huge list of proposed projects (or groups, or ...) won't help users
anyway, we limit the returned results to 50.

Fixes openSUSE#6558
bgeuken added a commit to bgeuken/open-build-service that referenced this issue Dec 14, 2018
We have a couple of pages that offer auto completion of searches of
packages, group and alike.
Depending on the search string this can return a lot of results and as
a result freeze the user's browser. Because of that, and because a
huge list of proposed projects (or groups, or ...) won't help users
anyway, we limit the returned results to 50.

Fixes openSUSE#6558
bgeuken added a commit to bgeuken/open-build-service that referenced this issue Dec 17, 2018
We have a couple of pages that offer auto completion of searches of
packages, group and alike.
Depending on the search string this can return a lot of results and as
a result freeze the user's browser. Because of that, and because a
huge list of proposed projects (or groups, or ...) won't help users
anyway, we limit the returned results to 50.

Fixes openSUSE#6558
@Ana06 Ana06 closed this as completed in a02d521 Dec 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Frontend Things related to the OBS RoR app good first issue Easy task, perfect for a first contribution
Projects
None yet
Development

No branches or pull requests

2 participants