aboutsummaryrefslogtreecommitdiff
path: root/guix-dev.scm
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2023-04-24 15:38:17 +0100
committerChristopher Baines <mail@cbaines.net>2023-04-24 15:38:17 +0100
commit99902f43804483b3b457ddd7cd574d3bb2485f0f (patch)
tree52d72abc3c475dd422c8ccefc71bb7b6186f0314 /guix-dev.scm
parentb090388c95798f52f6aacc33350da7da438c9106 (diff)
downloadbuild-coordinator-99902f43804483b3b457ddd7cd574d3bb2485f0f.tar
build-coordinator-99902f43804483b3b457ddd7cd574d3bb2485f0f.tar.gz
Expire database connection threads on exception
I'm concerned that SQLite is very sensitive to prepared statements being left around without being finalized or reset, and I think this can happen if an exception occurs in a worker, but before the reset or finalize happens. Handling this in every individual case would be quite difficult, but given that guile-sqlite finalizes prepared statements when you close a connection, I think that mechanism can be used to somewhat rigerously avoid this (at least for cached prepared statements).
Diffstat (limited to 'guix-dev.scm')
0 files changed, 0 insertions, 0 deletions