1
0
mirror of https://github.com/containers/podman.git synced 2026-02-05 15:45:08 +01:00

Drop SQLite max connections

The SQLite transaction lock Valentin found is (slightly) faster.
So let's go with that.

Signed-off-by: Matthew Heon <matthew.heon@pm.me>
This commit is contained in:
Matthew Heon
2023-03-21 14:20:34 -04:00
parent 0fbc325156
commit 3925cd653b

View File

@@ -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 {