You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If readRemoteService fails, it will be retried according to the rules of the configurable RetryExecutor Fine Tuning SimpleReact. The RetryExecutor is part of the async-retry project from Tomasz Nurkiewicz
The default RetryExecutor has the following settings
new AsyncRetryExecutor(Executors.newScheduledThreadPool(Runtime.getRuntime().availableProcessors())).
retryOn(Throwable.class).
withExponentialBackoff(500, 2). //500ms times 2 after each retry
withMaxDelay(10_000). //10 seconds
withUniformJitter(). //add between +/- 100 ms randomly
withMaxRetries(20));