Roger.ShutdownHandler (roger v3.1.1) View Source

This module handles correctly shutting down the workers. By first stop consuming new jobs and then wait for certain time for workers to finish.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Callback implementation for GenServer.init/1.

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Callback implementation for GenServer.init/1.