Liking cljdoc? Tell your friends :D

proletarian.retry


maybe-retry!clj

(maybe-retry! conn config job e log)
source

retry-dataclj

(retry-data retry-strategy job clock)

Convert a retry strategy to a concrete retry specification for a job. This is a map with keys :retries-left and :retry-at.

:retries-left is the number of retries left :retry-at is the time at which the next retry should be attempted

This function is defined for valid retry strategies, and for jobs with attempts greater than zero.

Convert a retry strategy to a concrete retry specification for a job. This
is a map with keys :retries-left and :retry-at.

:retries-left is the number of retries left
:retry-at is the time at which the next retry should be attempted

This function is defined for valid retry strategies, and for jobs with
attempts greater than zero.
sourceraw docstring

valid-job-attempts?clj

(valid-job-attempts? {:proletarian.job/keys [attempts]})
source

valid-retry-strategy?clj

(valid-retry-strategy? {:keys [retries delays] :as rs})
source

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

× close