mirror of
https://github.com/status-im/fathom.git
synced 2025-03-01 03:20:27 +00:00
set sqlite _busy_timeout to 5s to handle database is locked errors
This commit is contained in:
parent
00b0261bc3
commit
3b99e78135
@ -61,7 +61,7 @@ func (c *Config) DSN() string {
|
||||
}
|
||||
dsn = mc.FormatDSN()
|
||||
case SQLITE:
|
||||
dsn = c.Name + "?_loc=auto"
|
||||
dsn = c.Name + "?_loc=auto&_busy_timeout=10000"
|
||||
}
|
||||
|
||||
return dsn
|
||||
|
Loading…
x
Reference in New Issue
Block a user