Currently Failsafe only allows to make a single retry at a time. Sometimes it's beneficial to make several retries at the same time and hope that one of them would be successful.
It would be nice if it would be possible to configure retry and timeout policies in such a way that:
A first attempt starts with a timeout of 100ms
After 10ms pass, a second attempt starts with a timeout of 90ms
After another 20ms pass, a third attempt starts with a timeout of 70ms
When any of the attempts succeed, results are returned back immediately
All executions still in-flight are cancelled
It would be super helpful to have an attempt-specific timeout in ContextualSupplier, so that some special can be done with it on the application level.
Currently Failsafe only allows to make a single retry at a time. Sometimes it's beneficial to make several retries at the same time and hope that one of them would be successful.
It would be nice if it would be possible to configure retry and timeout policies in such a way that:
It would be super helpful to have an attempt-specific timeout in
ContextualSupplier
, so that some special can be done with it on the application level.