Liking cljdoc? Tell your friends :D

com.github.ivarref.yoltq.error-poller


do-poll-errorsclj

(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)
source

get-stateclj

(get-state v)
source

handle-error-countclj

(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)
source

poll-errorsclj

(poll-errors running? config-atom)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close