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
Hello, is possible to make these variables configurable by options, when new Client() is called?
From Client.js:
var maxRetryDelay = 300000; var initialRetryDelay = 1500; var retryDelayGrowth = 1.5; var maxRetries = 550;
suggested changes:
var options = this.options; this.messages = this.transport.retryWhen(function (attempts) { var maxRetryDelay = options.maxRetryDelay || 300000; var initialRetryDelay = options.initialRetryDelay || 1500; var retryDelayGrowth = options.retryDelayGrowth || 1.5; var maxRetries = options.maxRetries || 550;
The text was updated successfully, but these errors were encountered:
Hey @davidwdan I am currently interested in handling reconnecting as described in the post, have you had the chance to look at it ??
Sorry, something went wrong.
No branches or pull requests
Hello, is possible to make these variables configurable by options, when new Client() is called?
From Client.js:
suggested changes:
The text was updated successfully, but these errors were encountered: