feat: outdated version handling

This commit is contained in:
2023-10-05 09:56:25 +02:00
parent cb196afded
commit 09de4fd033
44 changed files with 365 additions and 876 deletions

View File

@@ -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)),