-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Release page loads slow with a lot of tags #490
Comments
not an enhancement, it's a bug. I added release pagniation a while back but I seem to have missed this for-loop here that still loop over all tags 😒 https://github.com/go-gitea/gitea/blob/master/routers/repo/release.go#L77 |
Just flipping that for-loop around and using |
Yeah I saw there is pagination so I did wonder why it was slow, that explains it :) |
Will you fix it for 1.0.1 or only 1.1? Imo it should be in both :P |
@deanpcmad, could you please test if #527 resolved your problem since I think there are also some improvements should be taken in future. |
@lunny sure, is there a build for it? |
https://dl.gitea.io/gitea/master/, you can find your proper version. |
I'm not who opened the issue but in my case using Windows 10 and MSSQL, I've cloned VS CODE github repo and tags page takes 8.8 seconds to load :S |
Hey, I've just tried it (version 09dabe2) but it is still very slow to load the tags page. If you want to test it yourself locally, mirror the https://github.com/rails/rails repo |
Now it loads in 1sec! That's better! |
Yes. But it's not perfect. It needs further improvement later. |
On macOS and sqlite, rails still spent 10s. |
https://try.gitea.io/lunny/rails/releases. v1.2+ have resolve this issue entirely. |
Copied from gogs/gogs#3094
[x]
):Description
I've just created a mirror repository for the rails repo and upon viewing the "Releases" tab, it takes forever to load, sometimes not loading at all which can cause nginx to timeout
Please see #491 as well
The text was updated successfully, but these errors were encountered: