Skip to content

Pool will leak processes if user process fails to check in worker #4

@lpil

Description

@lpil

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions