Snakepit.Pool.ApplicationCleanup (snakepit v0.1.2)

Provides hard guarantees for worker process cleanup when the application exits.

This module ensures that NO worker processes survive application shutdown, preventing orphaned processes while still allowing normal pool operations.

Summary

Functions

Returns a specification to start this module under a supervisor.

Force cleanup all tracked worker processes.

Callback implementation for GenServer.init/1.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

force_cleanup_all()

Force cleanup all tracked worker processes.

init(opts)

Callback implementation for GenServer.init/1.

start_link(opts \\ [])