Fork me on GitHub
#timbre
<
2022-12-19
>
pavlosmelissinos16:12:54

Am I the only person asking questions? 😅 In a multi-threaded application, what's the best way of passing the context of the main thread to a child? I could explicitly use with-context or with-context+ with the attributes I want but I'm wondering if threads could inherit it somehow from the thread that spawns them.

Wesley Matson21:12:34

How are you spawning the child threads?

pavlosmelissinos21:12:31

In a couple places they're spawned with Thread., in others they're spawned indirectly via pedestal.jetty and that complicates things...