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
When a Worker is hitting the Rate Limit, we don't respect maxTries and the worker can enter a Retry Hell, with 30 or more seconds before the promise is returned. Have an option to throw an error (and handle retries ourself), or retry only as many times as maxTries would prevent this.
if (responseEnvelope.status_code === 52 && self.endpoint !== INITIAL_ENDPOINT) {
throw new retry.StopError(
`Status code ${responseEnvelope.status_code} received from RPC`
);
}
The text was updated successfully, but these errors were encountered:
When a Worker is hitting the Rate Limit, we don't respect maxTries and the worker can enter a Retry Hell, with 30 or more seconds before the promise is returned. Have an option to throw an error (and handle retries ourself), or retry only as many times as maxTries would prevent this.
https://github.com/pogosandbox/pogobuf/blob/master/pogobuf/pogobuf.client.js#L610
Temp work around that corrects this issues:
The text was updated successfully, but these errors were encountered: