re-enable txlock immediate

This commit is contained in:
kim 2024-04-18 14:00:52 +01:00
parent 22b38d17a2
commit 04e36e3e46
1 changed files with 1 additions and 1 deletions

View File

@ -515,7 +515,7 @@ func buildSQLiteAddress(addr string) string {
// use immediate transaction lock mode to fail quickly if tx can't lock
// see https://pkg.go.dev/modernc.org/sqlite#Driver.Open
// prefs.Add("_txlock", "immediate")
prefs.Add("_txlock", "immediate")
if addr == ":memory:" {
log.Warn(nil, "using sqlite in-memory mode; all data will be deleted when gts shuts down; this mode should only be used for debugging or running tests")