-
-
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
github mirrors cause hudge slow-down #33200
Comments
as can be seen above, the ref stored in db is |
Merged
GiteaBot
pushed a commit
to GiteaBot/gitea
that referenced
this issue
Jan 12, 2025
Fix go-gitea#33200 Co-authored-by: wxiaoguang <[email protected]>
wxiaoguang
added a commit
that referenced
this issue
Jan 12, 2025
Backport #33224 by lunny Fix #33200 Co-authored-by: Lunny Xiao <[email protected]> Co-authored-by: wxiaoguang <[email protected]>
project-mirrors-bot-tu bot
pushed a commit
to project-mirrors/forgejo-as-gitea-fork
that referenced
this issue
Jan 26, 2025
Fix go-gitea#33200 Co-authored-by: wxiaoguang <[email protected]> (cherry picked from commit be4e961)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
When mirroring a github repo in gitea (the one causing problem is https://github.com/conan-io/conan-center-index), I noticed the following problems:
the commit graph is unusable, because it shows all the automatic merge of target branch to source branch for PRs existing in the upstream github:
these merge commit also clutter the database (in spite of Mirrors should not migrate
refs/pull
and then the relative commits will be gone. #27961). This can be seen directly in theaction
table in database:It also completely prevents the home page of gitea to load. I get an error 504 by the reverse proxy after 1 minute, and this shows up in the log:
2025/01/10 09:44:30 ...ers/web/user/home.go:129:Dashboard() [E] GetFeeds: FindAndCount: context canceled
.Is there a way to completely avoid mirroring these commits?
Gitea Version
1.22.6
Can you reproduce the bug on the Gitea demo site?
Yes: https://demo.gitea.com/ericLemanissier/conan-center-index and https://demo.gitea.com/ericLemanissier/conan-center-index-git
Log Gist
No response
Screenshots
Git Version
No response
Operating System
No response
How are you running Gitea?
docker
Database
SQLite
The text was updated successfully, but these errors were encountered: