faas-flow
faas-flow copied to clipboard
Add options to retry operations with retry count and timeout
Retry an operation if failed or timeout happen. If configured, when a operation fails the it will be retried, for n time. Where n is less than retry count.
May be good to have backoff interval for retry
@vtolstov
do you think its good have it integrated within the executor. Then the changes will be in sdk
and applicable for all operation.
Alternatively we may let user handle it in ExecuteOperation()
call. In that case it will be only at faas-flow
template level changes
I think about it, in case of put it in ExecuteOperation all users needs to add logic to retry, timeouts and backoff. I think that timeout is the core stuff..
@s8sg when you can do retries and timeouts? Or how can i add it to provide pr (in case od adding it to sdk)
I’m really busy. I’ll do that as soon as I manage some time. Great if you can raise a PR. I haven’t made any progress so far on this one