retry forever?

This commit is contained in:
MrTuxedo 2023-04-22 20:48:28 -07:00
parent 09e409c62d
commit 20185635fb

View File

@ -53,7 +53,7 @@ const baseGasPricesObservable$ = blockBaseFeePerGasObservable$.pipe(
}; };
}), }),
catchError(err => throwError(() => new Error(err))), catchError(err => throwError(() => new Error(err))),
retry({ count: 10, delay: 100, resetOnSuccess: true }) retry(-1) // retry forever
); );
export { baseGasPricesObservable$ }; export { baseGasPricesObservable$ };