We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 191b69e commit 3c3e1bfCopy full SHA for 3c3e1bf
src/index.js
@@ -89,14 +89,7 @@ export class Queue {
89
*
90
* queue.add(pets, callback, errCallback)
91
*/
92
- setMaxRetries(maxRetries) {
93
- inputValidation(maxRetries, "number", true);
94
- if (!this.#retryEngine) {
95
- this.#retryEngine = new RetryEngine(maxRetries);
96
- } else {
97
- this.#retryEngine.setRetries(maxRetries);
98
- }
99
+ setMaxRetries(maxRetries) { }
100
101
/**
102
* Set the max amount of time a promise can take to settle
0 commit comments