minor tweaks.

This commit is contained in:
2023-05-05 08:25:16 -07:00
parent 71243808d8
commit eacd6b4537
3 changed files with 112 additions and 2 deletions

View File

@@ -59,7 +59,7 @@
(fn [e]
(if (>= attempt 5)
(throw e)
(de/chain
(de/chain
(mt/in 1000 (fn [] 1))
(fn [_] (de/recur (inc attempt)))))))
(de/chain identity)))