mirror of
https://github.com/go-gitea/gitea.git
synced 2026-12-04 15:54:57 +00:00
Switch `SyncPullMirror` to `globallock.TryLock` (matching `services/cron/tasks.go`) so duplicate requests return immediately when a sync for that repository is already in progress. Fixes: https://github.com/go-gitea/gitea/issues/40549 --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>