diff options
author | Christopher Baines <mail@cbaines.net> | 2023-04-24 15:38:17 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2023-04-24 15:38:17 +0100 |
commit | 99902f43804483b3b457ddd7cd574d3bb2485f0f (patch) | |
tree | 52d72abc3c475dd422c8ccefc71bb7b6186f0314 /guix-dev.scm | |
parent | b090388c95798f52f6aacc33350da7da438c9106 (diff) | |
download | build-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