We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99fbd66 commit fb4ef58Copy full SHA for fb4ef58
src/main/clojure/clojure/core/cache/wrapped.clj
@@ -40,6 +40,7 @@
40
value (using value-fn, and optionally wrap-fn), update the cache for `e`
41
and then perform the lookup again.
42
43
+ For any given invocation of lookup-or-miss, it is guaranteed that
44
value-fn (and wrap-fn) will only be called (at most) once even in the
45
case of retries, so there is no risk of cache stampede.
46
0 commit comments