Closed sunng87 closed 8 years ago
Actually RetryPolicy contains state for each block, so it won't be possible to reuse across multiple block as of Failsafe 0.9.2.
But we can define the clojure API as {:policy ...} and actually use policy.copy()
internally at the moment.
The current retry block recreates
RetryPolicy
everytime when it's called. It's a waste of CPU.