eugenegujing commented on code in PR #8854:
URL: https://github.com/apache/texera/pull/8854#discussion_r4346202774
##########
frontend/src/app/common/service/computing-unit/computing-unit-status/computing-unit-status.service.ts:
##########
@@ -145,7 +146,8 @@ export class ComputingUnitStatusService implements
OnDestroy {
this.refreshSubscription = this.refreshComputingUnitListSignal
.pipe(
- switchMap(() => this.computingUnitService.listComputingUnits()),
+ // A failed fetch ends only that request, not the refresh stream.
+ switchMap(() =>
this.computingUnitService.listComputingUnits().pipe(catchError(() => EMPTY))),
Review Comment:
Good catch! Added a helper function in
22602e6353cc3b7369e3e319cc61f118be7cd363.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]