aboutsummaryrefslogtreecommitdiff
path: root/guix-data-service/web/view/html.scm
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2020-10-03 21:35:31 +0100
committerChristopher Baines <mail@cbaines.net>2020-10-03 21:35:31 +0100
commitc3c9c07f9a208633882a21004d30c5ee29026cb1 (patch)
tree8cc2d34ee6e3be5600200b79ac2487d66c8c32f4 /guix-data-service/web/view/html.scm
parente2e55c69de1eceb77998ab059a943711ef7779fd (diff)
downloaddata-service-c3c9c07f9a208633882a21004d30c5ee29026cb1.tar
data-service-c3c9c07f9a208633882a21004d30c5ee29026cb1.tar.gz
Completely rework the way db connections are handled during requests
Previously, a connection was passed through the code handling the request. When queries were performed, this could block the thread though, potentially leaving the server unable to serve other requests. Instead, this now runs queries in a pool of threads. This should remove the possibility of blocking the threads used by the web server, and in doing so, some of the queries have been parallelised. I''m still not sure about the naming and syntax, but I think the functionality is a sort of step forward.
Diffstat (limited to 'guix-data-service/web/view/html.scm')
0 files changed, 0 insertions, 0 deletions