RedisZ v0.2.0 RedisZ.Diagnoser View Source

Auto reconnect at Amazon ElastiCache Multi-AZ failover.

cf. https://rubygems.org/gems/redis-elasticache

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor

Link to this section Types

Link to this type t() View Source
t() :: %{
  name: name(),
  recovering: %{optional(GenServer.server()) => [GenServer.from()]}
}

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function diagnose(diagnoser, redix_conn, error) View Source
diagnose(name(), GenServer.server(), Exception.t() | :noproc) ::
  :recovered | :error