Policy that decides how often the reconnection to a dead node is attempted.
Policy that decides how often the reconnection to a dead node is attempted.
(constant-reconnection-policy constant-delay-ms)
A reconnection policy that waits a constant time between each reconnection attempt.
A reconnection policy that waits a constant time between each reconnection attempt.
(exponential-reconnection-policy base-delay-ms max-delay-ms)
A reconnection policy that waits exponentially longer between each reconnection attempt (but keeps a constant delay once a maximum delay is reached).
A reconnection policy that waits exponentially longer between each reconnection attempt (but keeps a constant delay once a maximum delay is reached).
(map->constant-reconnection-policy {:keys [constant-delay-ms]})
(map->exponential-reconnection-policy {:keys [base-delay-ms max-delay-ms]})
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close