gitea
gitea copied to clipboard
Fix upload maven pacakge parallelly
Fix #30171
Thanks @tlusser for the test code.
This change should be replaced by an abstract lock in #31813
Could this be applied to the docker image push too?
Could this be applied to the docker image push too?
The logic can be similar but the endpoint will not be the same. So, I would like to fix them one by one.
Wait for #31908?
Depends on #31813
The tests panic because the default lock hasn't been initialized until #31813.
Hmm, it cannot be backported to v1.22 since it depends on #31813. Or we need to fix it in another way.
Hmm, it cannot be backported to v1.22 since it depends on #31813. Or we need to fix it in another way.
I will use the old lock in backpor PR.