Closed Michsior14 closed 1 year ago
Thanks. Some questions/thoughts:
maxWorkers
option?Ok so it makes sense to have the setting configurable, like for debugging memory leaks. It would be nice if we can reuse maxWorkers
for this I think, please let me know if you think that will work.
Uhhh, it turned out that it's not workerpool
fault and everything works as expected here (only one listener for parent and one for child thread) . The issue was with sentry
initialization during job execution. Sorry!
👍
Currently there is no way to set max listeners (10 by default) for worker_thread, thus if you have high load across more than 10 threads the warning will popup.
I am interested in fixing this upstream either by setting the listeners value to higher value (e.g. 100) by default or providing the new option for
WorkerHandler
. What would be your preference?