1
0
mirror of https://github.com/go-gitea/gitea synced 2025-02-18 05:57:05 +01:00
zeripath 6afbef5a8b
Do DB update after merge in hammer context () ()
Backport 

When merge was changed to run in the background context, the db updates
were still running in request context. This means that the merge could
be successful but the db not be updated.

This PR changes both these to run in the hammer context, this is not
complete rollback protection but it's much better.

Fix 

Signed-off-by: Andrew Thornton <art27@cantab.net>
2022-10-12 15:52:21 +08:00
..
2022-06-17 20:17:12 +02:00