aboutsummaryrefslogtreecommitdiff
path: root/nar-herder/database.scm
diff options
context:
space:
mode:
Diffstat (limited to 'nar-herder/database.scm')
-rw-r--r--nar-herder/database.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/nar-herder/database.scm b/nar-herder/database.scm
index eb16bd2..7ce4aef 100644
--- a/nar-herder/database.scm
+++ b/nar-herder/database.scm
@@ -309,6 +309,7 @@ CREATE UNIQUE INDEX IF NOT EXISTS
(lambda (db)
(sqlite-close db))
#:lifetime 50000
+ #:expire-on-exception? #t
#:name "db r"
;; Use a minimum of 2 and a maximum of 8 threads
@@ -358,6 +359,7 @@ CREATE UNIQUE INDEX IF NOT EXISTS
(sqlite-close db))
#:lifetime 500
+ #:expire-on-exception? #t
#:name "db w"
;; SQLite doesn't support parallel writes