mirror of https://github.com/containers/podman.git
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:
parent
0fbc325156
commit
3925cd653b
|
@ -81,9 +81,6 @@ func NewSqliteState(runtime *Runtime) (_ State, defErr error) {
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
|
|
||||||
// Necessary to avoid database locked errors.
|
|
||||||
conn.SetMaxOpenConns(1)
|
|
||||||
|
|
||||||
state.conn = conn
|
state.conn = conn
|
||||||
|
|
||||||
if err := state.conn.Ping(); err != nil {
|
if err := state.conn.Ping(); err != nil {
|
||||||
|
|
Loading…
Reference in New Issue