-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
A repo with more than 10000~ files takes long time to show the page #502
Comments
Maybe pagination to prevent this? |
Ignore files after show some, this is also github does. |
My repo doesn't have 10k files, but just 550 commits. Opening 'Commits' tab takes more than 2 seconds.
|
@azlan Can you specify the details of the problem in another ticket ? |
I will check that |
Yes. Github just limits at 1000 files. I think that should be somewhat reasonable for a web UI, you can always check out locally or know what you're looking for an change the url, maybe use a search too. Idk how practical pagination might be for that. I don't see a real value in browsing thousands of files through pagination. |
So we could also limits at 1000 files to fix this issue. |
@lunny maybe add pagination in the future? |
or at least some kind of lazy-loading ( |
That's another issues. Currently we have to limit 1000 files just like Github to fix this one. |
This seems related as well: gogs/gogs#3022 (see gogs/gogs#3094 for reference) |
We got this kind of issue multiple times now. |
I will move this to v1.2 since there is no PR to fix this. |
Since gitea seems to be the future of gogs, and the gogs issue is basically dead... any commentary on the proposed solution in the original post of gogs/gogs#3022? |
This should be fixed on v1.2 |
I'm not asking when it will be fixed, but rather how. |
Just like github, will limit the numbers shown in the UI. |
Have a diff? |
This is the files page, not commits page. Commits page has paginate. |
I see sorry that was my mistake. For some reason I thought it mean like 1000 of files and/or commits in a PR. I deleted my comment |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions. |
This has been fixed. |
[x]
):https://try.gitea.io/test/too-many-files
Description
Then use web browser to load the page.
...
P.S.
systemctl status gitea.service
will show some interesting/strange phenomenon, which could be informative.The text was updated successfully, but these errors were encountered: