heartcheck v0.3.0 HeartCheck.CachingPlug 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
Link to this type
find_server()
View Source
find_server() :: {:ok, GenServer.server()} | {:error, term()} | :error