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 14ba7a5 commit 597a1f8Copy full SHA for 597a1f8
1 file changed
src/flow-control/restart-process.ts
@@ -29,7 +29,7 @@ export class RestartProcess implements FlowController {
29
scheduler?: Rx.SchedulerLike;
30
}) {
31
this.logger = logger;
32
- this.delay = delay != null ? delay : 0;
+ this.delay = delay ?? 0;
33
this.tries = tries != null ? +tries : defaults.restartTries;
34
this.tries = this.tries < 0 ? Infinity : this.tries;
35
this.scheduler = scheduler;
0 commit comments