Determines a delay that will be waited before restarting a failed Redis connection.
Determines a delay that will be waited before restarting a failed Redis connection.
If this method returns Opt.Empty
, the connection will not be restarted and will remain in a broken state.
indicates which consecutive reconnection retry it is after the connection was lost, starting from 0