(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
(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
(retry-n-impl f attempt total resp meta)
Retry function with 1 that accepts retry count
Retry function with 1 that accepts retry count
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close