Currently if the user process fails to check back in the worker process that process is leaked.
Other pools tend to avoid this by providing a higher order function to remove the possibility of forgetting to check back in the worker (pool.transaction(fn() { do_work() })) and monitor user processes so that when they exit the workers can be added back to the pool.
Thanks,
Louis
Currently if the user process fails to check back in the worker process that process is leaked.
Other pools tend to avoid this by providing a higher order function to remove the possibility of forgetting to check back in the worker (
pool.transaction(fn() { do_work() })) and monitor user processes so that when they exit the workers can be added back to the pool.Thanks,
Louis