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
I have searched existing issues to ensure the feature has not already been requested
馃殌 Feature Proposal
Right now in timeWindow option we can set retries for regular interval of time. There is no option for allowing exponential backoff time. E.g If I want user to retry for following time windows - 1min, 5 min, 15min ........ No option to configure that rn.
Motivation
No response
Example
No response
The text was updated successfully, but these errors were encountered:
Just because I have the code currently open in my vscode: Exponential back off can be implemented by the following code:
/** * Exponential backoff is the process of a client periodically retrying a * failed request over an increasing amount of time. It is a standard error * handling strategy for network applications. The Core Reporting API is * designed with the expectation that clients which choose to retry failed * requests do so using exponential backoff. Besides being "required", using * exponential backoff increases the efficiency of bandwidth usage, reduces * the number of requests required to get a successful response, and * maximizes the throughput of requests in concurrent environments. * * @see https://developers.google.com/analytics/devguides/reporting/core/v3/errors#backoff */functionexponentialDelay(retryNumber){constdelayInSeconds=Math.pow(2,retryNumber)constrandomMs=~~(1000*Math.random())returndelayInSeconds*1000+randomMs}
Prerequisites
馃殌 Feature Proposal
Right now in timeWindow option we can set retries for regular interval of time. There is no option for allowing exponential backoff time. E.g If I want user to retry for following time windows - 1min, 5 min, 15min ........ No option to configure that rn.
Motivation
No response
Example
No response
The text was updated successfully, but these errors were encountered: