use journal mode WAL
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
This commit is contained in:
parent
4a2ba68867
commit
4ec684b493
1 changed files with 1 additions and 1 deletions
|
|
@ -337,7 +337,7 @@ func (s *SQLite) Validate() error {
|
|||
}
|
||||
|
||||
func (s *SQLite) ConnectionString() (string, error) {
|
||||
return s.DBFile, nil
|
||||
return fmt.Sprintf("%s?_pragma=journal_mode(wal)", s.DBFile), nil
|
||||
}
|
||||
|
||||
// MySQL is the config entry for the mysql section
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue