Monorepo for Tangled tangled.org

appview/db: add busy-timeout on sqlite connection #1222

merged opened by boltless.me targeting master from sl/rsoxstkrxwrk
Labels

None yet.

assignee

None yet.

Participants 2
AT URI
at://did:plc:xasnlahkri4ewmbuzly2rlc5/sh.tangled.repo.pull/3mhy3pborcv22
+3
Diff #1
+1
appview/db/db.go
··· 34 34 "_journal_mode=WAL", 35 35 "_synchronous=NORMAL", 36 36 "_auto_vacuum=incremental", 37 + "_busy_timeout=5000", 37 38 } 38 39 39 40 logger := log.FromContext(ctx)
+1
knotserver/db/db.go
··· 22 22 "_journal_mode=WAL", 23 23 "_synchronous=NORMAL", 24 24 "_auto_vacuum=incremental", 25 + "_busy_timeout=5000", 25 26 } 26 27 27 28 logger := log.FromContext(ctx)
+1
spindle/db/db.go
··· 18 18 "_journal_mode=WAL", 19 19 "_synchronous=NORMAL", 20 20 "_auto_vacuum=incremental", 21 + "_busy_timeout=5000", 21 22 } 22 23 23 24 db, err := sql.Open("sqlite3", dbPath+"?"+strings.Join(opts, "&"))

History

2 rounds 1 comment
sign up or login to add to the discussion
1 commit
expand
{appview,knot,spindle}/db: add busy-timeout on sqlite connection
3/3 failed
expand
expand 1 comment
pull request successfully merged
1 commit
expand
appview/db: add busy-timeout on sqlite connection
expand 0 comments