From d1dd6674510bbe6e4f33379de161445291f622fb Mon Sep 17 00:00:00 2001 From: Ibrahim Najjar Date: Mon, 8 Jan 2024 21:47:39 +0100 Subject: [PATCH] second attempt to fix the dead lock --- internal/datastore/store.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/datastore/store.go b/internal/datastore/store.go index 69bcc11..e4bb8e9 100644 --- a/internal/datastore/store.go +++ b/internal/datastore/store.go @@ -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 }