ex_limiter v1.3.4 ExLimiter.Storage.PG2Shard.Supervisor View Source

Supervisor for the workers and shard router for the PG2Shard backend.

This must be manually specified in your supervision tree for this storage backend to work.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor

Callback invoked to start the supervisor and during hot code upgrades

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

handle_event(_, _, _, _) View Source

Callback invoked to start the supervisor and during hot code upgrades.

Developers typically invoke Supervisor.init/2 at the end of their init callback to return the proper supervision flags.

Callback implementation for Supervisor.init/1.