Skip to content

Commit

Permalink
increase busytimeout for sqlite to 10s
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyvankooten committed Dec 24, 2018
1 parent e7b6613 commit 67277ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/datastore/sqlstore/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func (c *Config) DSN() string {
}
dsn = mc.FormatDSN()
case SQLITE:
dsn = c.Name + "?_busy_timeout=5000"
dsn = c.Name + "?_busy_timeout=10000"
}

return dsn
Expand Down

0 comments on commit 67277ec

Please sign in to comment.