speed_test v0.1.0 SpeedTest.Retry

Wrapper around retries and calculating how many retries to run.

Examples

iex> %SpeedTest.Retry{timeout: :timer.seconds(2)}
iex> %SpeedTest.Retry{timeout: :timer.seconds(10), interval: :timer.seconds(1)}

Link to this section Summary

Functions

Calculates the max number of interations to execute the retry on.

Link to this section Functions

Link to this function

calc_max(retry)

calc_max(Retry.t()) :: integer()

Calculates the max number of interations to execute the retry on.