Liking cljdoc? Tell your friends :D

lambda.http-client


request->with-timeoutsclj

(request->with-timeouts n
                        req
                        &
                        {:keys [connect-timeout connect-timeout-step
                                idle-timeout idle-timeout-step]
                         :or {connect-timeout 300
                              connect-timeout-step 100
                              idle-timeout 5000
                              idle-timeout-step 4000}})

Assign timeouts based on retry attempt We take squre function of attempt and multiply

Assign timeouts based on retry attempt
We take squre function of attempt and multiply
raw docstring

retry-countclj


retry-nclj

(retry-n function-to-retry
         &
         {:keys [retries meta] :or {retries retry-count meta {}}})

Retry function with 1 that accepts retry count

Retry function with 1 that accepts retry count
raw docstring

retry-n-implclj

(retry-n-impl f attempt total resp meta)

Retry function with 1 that accepts retry count

Retry function with 1 that accepts retry count
raw docstring

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

× close