From 3925cd653b677fe2aab5f080faa64bb4c7714601 Mon Sep 17 00:00:00 2001 From: Matthew Heon Date: Tue, 21 Mar 2023 14:20:34 -0400 Subject: [PATCH] Drop SQLite max connections The SQLite transaction lock Valentin found is (slightly) faster. So let's go with that. Signed-off-by: Matthew Heon --- libpod/sqlite_state.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/libpod/sqlite_state.go b/libpod/sqlite_state.go index 6f98668ec7..e1007dbc37 100644 --- a/libpod/sqlite_state.go +++ b/libpod/sqlite_state.go @@ -81,9 +81,6 @@ func NewSqliteState(runtime *Runtime) (_ State, defErr error) { } }() - // Necessary to avoid database locked errors. - conn.SetMaxOpenConns(1) - state.conn = conn if err := state.conn.Ping(); err != nil {