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

Error 500 on the /status/pending/ route #3161

Open
praiskup opened this issue Feb 29, 2024 · 3 comments
Open

Error 500 on the /status/pending/ route #3161

praiskup opened this issue Feb 29, 2024 · 3 comments

Comments

@praiskup
Copy link
Member

praiskup commented Feb 29, 2024

  1. typo "There's crurrently 14816 jobs." on the detail page
  2. performance problems, obviously, because of the number in 1.
  3. shall we have a nicer error 500 page than Apache's default?
@FrostyX
Copy link
Member

FrostyX commented Feb 29, 2024

Now there are 13k pending tasks now and the /status/pending page renders correctly. That's quite impressive.

@praiskup
Copy link
Member Author

praiskup commented Mar 1, 2024

Loads OK, but (5600 pending) ....

$ time curl https://copr.fedorainfracloud.org/status/pending/
..
</body>
</html>
real    0m21.348s
user    0m0.028s
sys     0m0.078s

@xsuchy xsuchy moved this from Needs triage to In 2 years in CPT Kanban Mar 6, 2024
@xsuchy
Copy link
Member

xsuchy commented Mar 6, 2024

Can be solved by limiting the query and if there is more results just limit these X hundreds/thousands and "many more"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In 2 years
Development

No branches or pull requests

3 participants