0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-05-28 13:54:45 +02:00
Giteabot 1162cbccc0
Performance optimization for tags synchronization (#34355) (#34522)
Backport #34355 by @lunny

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.

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2025-05-22 19:28:25 -07:00
..
2025-03-31 01:53:48 -04:00
2025-04-01 10:14:01 +00:00
2025-03-31 01:53:48 -04:00
2025-03-31 01:53:48 -04:00
2025-03-31 01:53:48 -04:00
2025-03-13 07:04:50 +08:00
2025-04-01 10:14:01 +00:00
2025-03-31 01:53:48 -04:00
2025-03-13 07:04:50 +08:00
2025-03-31 01:53:48 -04:00
2025-04-01 10:14:01 +00:00
2024-12-24 01:54:19 +00:00
2025-03-31 01:53:48 -04:00
2025-04-01 10:14:01 +00:00
2025-04-01 10:14:01 +00:00
2025-03-11 10:40:38 -07:00