mirror of
https://github.com/containers/podman.git
synced 2025-08-06 19:44:14 +08: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:
@ -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 {
|
||||||
|
Reference in New Issue
Block a user