0
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-02-01 18:15:06 -05:00
forgejo/routers/api/packages/maven
Gusted 46e15e57f7 port(gitea#31954): Add lock for parallel maven upload (#6513)
Backport #31851
Fix #30171

---

Fixes https://github.com/go-gitea/gitea/issues/30171, this is also a
issue in Forgejo. Backport the implementation that uses the existing
sync module which does not work for multiple instances which is
perfectly fine for Forgejo for now.

(cherry picked from commit 9c990ac043a0167dc59f1c822988ed2316f7c1df)

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6513
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
2025-01-09 17:39:38 +00:00
..
api.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
maven.go port(gitea#31954): Add lock for parallel maven upload (#6513) 2025-01-09 17:39:38 +00:00