]> source.dussan.org Git - gitea.git/commit
Remove transaction for archive download (#32186)
authorLunny Xiao <xiaolunwen@gmail.com>
Fri, 15 Nov 2024 04:04:20 +0000 (20:04 -0800)
committerGitHub <noreply@github.com>
Fri, 15 Nov 2024 04:04:20 +0000 (12:04 +0800)
commite1b269e956e955dd1dfb012f40270d73f8329092
tree7297db03e7ca7fc71de552da8b7cce9173d20e74
parent4121f952d18a4c3a3c08ae645af3458ef08b439d
Remove transaction for archive download (#32186)

Since there is a status column in the database, the transaction is
unnecessary when downloading an archive. The transaction is blocking
database operations, especially with SQLite.

Replace #27563
services/repository/archiver/archiver.go
services/repository/archiver/archiver_test.go