0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-05-12 00:22:59 +02:00

make last_sync_unix update non-fatal

This commit is contained in:
pomidorry 2026-05-08 21:19:26 +03:00
parent d765cb2aec
commit e8800f4284

View File

@ -414,7 +414,6 @@ func SyncPullMirror(ctx context.Context, repoID int64) bool {
if err = repo_model.UpdateMirrorLastSyncTime(ctx, m, m.UpdatedUnix); err != nil {
log.Error("SyncMirrors [repo: %-v]: failed to update mirror last_sync_unix: %v", m.Repo, err)
return false
}
// Update license metadata after a successful mirror sync.