HeartCheck.CachingPlug (heartcheck v0.4.3) View Source

A plug that uses cached results of heartchecks

The refresh time for the checks is 300000 milliseconds (5 minutes) and it can be set using the :ttl key in the plug options.

The other options are the same as HeartCheck.Plug.

Link to this section Summary

Link to this section Types

Specs

find_server() :: {:ok, GenServer.server()} | {:error, term()} | :error

Link to this section Functions