Welcome the channel on the development of Cro, a set of libraries for building reactive distributed systems, lovingly crafted to take advantage of all the Raku Programming Language has to offer (cro.services). This channel is being logged for historical purposes. Set by lizmat on 24 May 2021. |
|||
01:39
sena_kun left
09:28
sena_kun joined
09:38
Xliff left
|
|||
jnthn | A `route` block is just a way to define a Cro::Transform from HTTP request to HTTP responses; it's not involved with listening, etc. | 13:21 | |
request.annotations is made for stashing stuff per-request, so if you want to associate a connection with a request you can stash it in there, although one can't really make an assumption about threads | 13:23 | ||
If a route handler `await`s then it might resume on a different thread after | |||
But it would be safe to, for example, have request/response middleware that obtains a connection from a pool, associates it with a request, and then puts it back in the pool when the response is sent. | 13:24 | ||
16:03
jgaz joined
18:26
jgaz left
|
|||
lizmat | It appears cro.services is down since 19:45 CET I've pinged jnthn and sena_kun | 19:33 | |
looks like it's up again :-) | 19:49 | ||
sena_kun | yup | 23:38 |