aboutsummaryrefslogtreecommitdiffstats
path: root/routers/install
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2025-05-22 13:54:42 -0700
committerGitHub <noreply@github.com>2025-05-22 13:54:42 -0700
commitb595f81b7908fa317879fc1223f6fc41e997ae6d (patch)
tree934ba84d07cd7c109cadd8f224f46dd6a3046db8 /routers/install
parent06ccda06c49ae86187c1168a4610d814ea33362b (diff)
downloadgitea-main.tar.gz
gitea-main.zip
Performance optimization for tags synchronization (#34355)HEADmain
The tags synchronization is very slow for a non-mirror repository with many tags especially forking. This PR make all repositories' tags synchronization use the same function and remove the low performance synchronization function. The commit count of tag now will not be stored into database when syncing. Since the commits count will always be read from cache or git data, the `NumCommits` in the release table will be updated for the first read from git data.
Diffstat (limited to 'routers/install')
0 files changed, 0 insertions, 0 deletions