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 builds & hosts documentation for Clojure/Script libraries
⌘+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
⌘+/ | Jump to the search field |