]> source.dussan.org Git - gitea.git/commit
Keep database transactions not too big (#13254)
authorLunny Xiao <xiaolunwen@gmail.com>
Thu, 22 Oct 2020 15:45:54 +0000 (23:45 +0800)
committerGitHub <noreply@github.com>
Thu, 22 Oct 2020 15:45:54 +0000 (11:45 -0400)
commitbe82b8f99af753c571e88f2f5310b1f656d34d84
treea53a0930e00da2d8569857454a23f2a6a20a14e7
parente964c6ec18b8f9c2dbf07232f74a8020408cef49
Keep database transactions not too big (#13254)

* Keep database transactions not too big

* Fix #13255

Signed-off-by: Andrew Thornton <art27@cantab.net>
* Only cache the last repo

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: Andrew Thornton <art27@cantab.net>
models/migrations/v156.go