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:
parent
d765cb2aec
commit
e8800f4284
@ -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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user