Bounded successful-program retention and same-key construction coalescing.
Bounded successful-program retention and same-key construction coalescing.
(get-or-build! {:keys [resident flights lock counters] :as store} key build)Builds once per concurrent key. Failures wake all waiters and are not cached. At most max-builds distinct constructions run; no loader runs under a lock.
Builds once per concurrent key. Failures wake all waiters and are not cached. At most max-builds distinct constructions run; no loader runs under a lock.
(stats {:keys [resident flights lock counters]})(store {:keys [max-entries max-builds]
:or {max-entries (:program-cache-entries values/limits)
max-builds (:program-build-concurrency values/limits)}})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 |