Skip to content

Commit 3c3e1bf

Browse files
superbrobenjigithub-actions[bot]
authored andcommitted
Merge pull request #98 from superbrobenji/dtd/ts
sdf
1 parent 191b69e commit 3c3e1bf

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/index.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -89,14 +89,7 @@ export class Queue {
8989
*
9090
* queue.add(pets, callback, errCallback)
9191
*/
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-
}
92+
setMaxRetries(maxRetries) { }
10093

10194
/**
10295
* Set the max amount of time a promise can take to settle

0 commit comments

Comments
 (0)