mikhailshilkov / DurableFunctions.FSharp

F#-friendly API layer for Azure Durable Functions
MIT License
62 stars 8 forks source link

Document Exponential Backoff #6

Closed jbeeko closed 5 years ago

jbeeko commented 5 years ago

When selecting parameters I could not find any documentation for the how to generate the retry sequence. Asking on StackOverflow I got this answer https://stackoverflow.com/questions/55736973/how-is-the-next-retry-time-calculated-for-durable-functions-when-there-is-a-back/55753679#55753679

If you would rather see nthDelay, allDelays and totalDelay as code, perhaps members of RetryPolicy let me know?

mikhailshilkov commented 5 years ago

Thanks! I think this is useful. I'm not sure I want to put it into the main README file directly (it's getting big). Maybe add your code block to the sample related to retries?