Skip to content

Commit

Permalink
second attempt to fix the dead lock
Browse files Browse the repository at this point in the history
  • Loading branch information
abjrcode committed Jan 8, 2024
1 parent 9dd22b4 commit d1dd667
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/datastore/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func New(appDataDir, dbFileName string) AppStore {
dbFilePath = strings.ReplaceAll(dbFilePath, "\\", "/")

runner.dbFilePath = dbFilePath
runner.dbConnectionString = fmt.Sprintf("file:%s?mode=rwc&_locking=exclusive", dbFilePath)
runner.dbConnectionString = fmt.Sprintf("file:%s", dbFilePath)

return runner
}
Expand Down

0 comments on commit d1dd667

Please sign in to comment.