Skip to content

Commit

Permalink
fix: removed exra PRAGMA
Browse files Browse the repository at this point in the history
  • Loading branch information
risico committed Jan 26, 2024
1 parent 5aecb06 commit 288dba7
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions queue_nocgo.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,6 @@ func openDB(dsn string) (*sql.DB, error) {
return nil, errors.Trace(err)
}

_, err = db.Exec(`
PRAGMA busy_timeout = 10000;
PRAGMA journal_mode = WAL;
PRAGMA journal_size_limit = 200000000;
PRAGMA synchronous = NORMAL;
PRAGMA foreign_keys = ON;
PRAGMA temp_store = MEMORY;
PRAGMA cache_size = -16000;
`)

if err != nil {
return nil, errors.Trace(err)
}
Expand Down

0 comments on commit 288dba7

Please sign in to comment.