diff --git a/src/flow-control/restart-process.ts b/src/flow-control/restart-process.ts index b65a5b87..7a843d35 100644 --- a/src/flow-control/restart-process.ts +++ b/src/flow-control/restart-process.ts @@ -29,7 +29,7 @@ export class RestartProcess implements FlowController { scheduler?: Rx.SchedulerLike; }) { this.logger = logger; - this.delay = delay != null ? delay : 0; + this.delay = delay ?? 0; this.tries = tries != null ? +tries : defaults.restartTries; this.tries = this.tries < 0 ? Infinity : this.tries; this.scheduler = scheduler;