We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6232b66 commit 35a8051Copy full SHA for 35a8051
src/Network/HTTP/Affjax.purs
@@ -157,8 +157,7 @@ retry milliseconds run req = do
157
Right b -> pure b
158
Left resp -> do
159
putVar failureVar resp
160
- -- TODO: is this too steep?
161
- let delay = round $ max maxDelay $ 1000.0 * (pow 2.0 $ toNumber (n - 1))
+ let delay = round $ max maxDelay $ 100.0 * (pow 2.0 $ toNumber (n - 1))
162
later' delay $ go failureVar (n + 1)
163
164
-- | Run a request directly without using `Aff`.
0 commit comments