We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error.timeout_duration
onFailedAttempt
“Trying again in 32 seconds.”
I propose p-retry provide error.timeout_duration, that is, in how much time the next retry begins, for onFailedAttempt.
p-retry
This can be achieved by reading this._timeouts.
this._timeouts
The text was updated successfully, but these errors were encountered:
Or error.time_off. I don’t mind the property name.
error.time_off
Sorry, something went wrong.
p-retry uses https://github.com/tim-kos/node-retry and passes all options through
so e.g. you can pass through
factor: 1.5, minTimeout: 500,
as options to p-retry which will result in an initial gap of 500ms between retries with a 1.5x exponential increase factor
No branches or pull requests
I propose
p-retry
provideerror.timeout_duration
, that is, in how much time the next retry begins, foronFailedAttempt
.This can be achieved by reading
this._timeouts
.The text was updated successfully, but these errors were encountered: