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
Hi, i am looking at the api and i see only retryDelay accepting a fixed number which is the time in ms.
How should I implment a backoff logic to attempt a new acquisition?
I would expect retryDelay accepting a number (as it is now) but also a function (times: number) => number which can implement a custom logic to return a new duration on the basis of the value of the time parameter.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, i am looking at the api and i see only
retryDelayaccepting a fixed number which is the time in ms.How should I implment a backoff logic to attempt a new acquisition?
I would expect
retryDelayaccepting a number (as it is now) but also a function(times: number) => numberwhich can implement a custom logic to return a new duration on the basis of the value of the time parameter.Beta Was this translation helpful? Give feedback.
All reactions