Snakepit.Pool.ApplicationCleanup (Snakepit v0.6.10)

View Source

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.

Callback implementation for GenServer.init/1.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

init(opts)

Callback implementation for GenServer.init/1.

start_link(opts \\ [])