All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
max-wall-clock-duration manipulator: stops retrying once wall-clock elapsed
time since the first attempt exceeds a given timeout. Unlike max-duration,
this accounts for actual execution time, not just accumulated delays.circuit-breaker, the with-circuit-breaker macro, the
BreakerPolicy protocol with the built-in consecutive-failures policy,
circuit-open?, and circuit-state. Breakers have closed/open/half-open states
with a configurable failure threshold and ::reset-timeout, emit ::on-event
notifications (:success, :failure, :short-circuit, :state-change), and
compose with with-retries by nesting (breaker innermost). BreakerPolicy is an
extension seam for alternative trip policies (e.g. a rolling window).::status gains a new :interrupted value when retrying is stopped
by an InterruptedException, distinguishing it from :failure (retries
exhausted). Note: callers that dispatch exhaustively on ::status without
a :default arm will need to add an :interrupted case.InterruptedException now stops retrying immediately; the thread interrupt
flag is restored before rethrowing so callers can detect the interruption.deps.edn).org.clojure/clojure updated to 1.12.5.Initial stable release.
Can you improve this documentation?Edit on GitHub
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 |