Carlos Fuentes
Carlos Fuentes
@brainsiq can you verify if #809 might fix your problem
Thanks for the feedback, and no problem! I'm starting to guess this is due to the fact of how the drain checks run; I'll try something else later this week...
@brainsiq can you check with the latest change?
I'm trying to reproduce it without any luck, can you provide an [Minimum Reproducible Example](https://stackoverflow.com/help/minimal-reproducible-example) that isolates the problem?
Ok, I can see what I couldn't reproduce it; the issue roots to the fact that in your worker script you are not exporting an entry point for Piscina to...
Hmm, interesting; this is due to a race condition while resolving the worker for the first time. It is indeed a bug, working already on a fix.
Ok, I'm taking that back, completely oversight this. When `Piscina` is starting, if `filename` is provided within the Pool options, Piscina will attempt to preload the script while starting the...
>I think it must have something to do with the module loader of tsx, but worker_threads handles it well. It can be, or maybe the fact that `Piscina` imposes a...
Hmm, I see; I'll try to spend more time on this over the next few weeks but I'm under the impression that this statement of yours is right: >I think...
Closing it for now, as it seems not fully related with Piscina; feel free to open a new one if we narrow down is Piscina's problem 👍