-
- Downloads
http: Process client connections really concurrently, again.
This reinstates c47dfdf8 and fixes the issues that led to the revert in b71f0cdc. Before that, 'run-server' would force sequential processing of client requests one after another. * src/cuirass/http.scm (run-cuirass-server): Rewrite to use its own loop instead of 'run-server'. Spawn a database fiber. (with-database-access): New macro. (handle-build-request): Expect 'db-channel' and use 'with-database-access'. (handle-builds-request): Likewise. (url-handler): Likewise.
Please register or sign in to comment