mirror of
https://github.com/containers/podman.git
synced 2026-10-24 02:39:13 -04: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:
1 parent
0fbc325156
commit
3925cd653b
1 file changed
-3
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user