(do-poll-errors
{:keys [conn system-error on-system-error on-system-recovery healthy?
healthy-allowed-error-time]
:or {on-system-error
(fn [] (log/error "There are yoltq queues which have errors") nil)
on-system-recovery (fn [] (log/info "Yoltq recovered"))}
:as config}
now-ms)
(handle-error-count {:keys [errors last-notify state]
:or {errors [] last-notify 0 state :recovery}}
{:keys [system-error-min-count
system-error-callback-backoff]
:or {system-error-min-count 3}}
now-ms
error-count)
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |