diff options
author | Christopher Baines <mail@cbaines.net> | 2023-04-21 00:20:08 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2023-04-21 00:20:08 +0100 |
commit | ce7ae649cfac5aa1c43384e1b5caeb19d8a1cffb (patch) | |
tree | 90ca844d75e636b5e552b1254920b2e7358277fe /guix-build-coordinator | |
parent | b28341b13d40dc59d57238b29891cb9aa41cfd4b (diff) | |
download | build-coordinator-ce7ae649cfac5aa1c43384e1b5caeb19d8a1cffb.tar build-coordinator-ce7ae649cfac5aa1c43384e1b5caeb19d8a1cffb.tar.gz |
Turns out COMMIT can return busy, so increase the timeout
Diffstat (limited to 'guix-build-coordinator')
-rw-r--r-- | guix-build-coordinator/datastore/sqlite.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guix-build-coordinator/datastore/sqlite.scm b/guix-build-coordinator/datastore/sqlite.scm index 872728d..ce9b7e5 100644 --- a/guix-build-coordinator/datastore/sqlite.scm +++ b/guix-build-coordinator/datastore/sqlite.scm @@ -140,7 +140,7 @@ (lambda () (let ((db (db-open database-file))) - (sqlite-exec db "PRAGMA busy_timeout = 10;") + (sqlite-exec db "PRAGMA busy_timeout = 1000;") (sqlite-exec db "PRAGMA synchronous = NORMAL;") (sqlite-exec db "PRAGMA temp_store = MEMORY;") (sqlite-exec db "PRAGMA foreign_keys = ON;") |