mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-21 17:12:43 +00:00
feat: outdated version handling
This commit is contained in:
@@ -21,6 +21,7 @@ import {
|
||||
race,
|
||||
RetryConfig,
|
||||
share,
|
||||
skip,
|
||||
Subject,
|
||||
takeUntil,
|
||||
} from 'rxjs';
|
||||
@@ -61,7 +62,7 @@ export class InternetConnectionService {
|
||||
private doRetry(error: unknown, retryCount: number): ObservableInput<unknown> {
|
||||
return race(
|
||||
this.offline$.pipe(
|
||||
tap(it => console.log(it)),
|
||||
skip(1),
|
||||
filter(it => !it),
|
||||
take(1),
|
||||
delay(Math.min(retryCount ** 4 + 100, 10_000)),
|
||||
|
||||
Reference in New Issue
Block a user