From 41a63c8b29619003377a0d971336049e19fc3cea Mon Sep 17 00:00:00 2001 From: Pedro Bonamin <46196328+pedrobonamin@users.noreply.github.com> Date: Fri, 22 Nov 2024 16:30:38 +0100 Subject: [PATCH] fix(core): remove timeout and retry from releases store (#7866) --- .../sanity/src/core/releases/store/createReleaseStore.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/packages/sanity/src/core/releases/store/createReleaseStore.ts b/packages/sanity/src/core/releases/store/createReleaseStore.ts index 55b7b264ac3..62910946e23 100644 --- a/packages/sanity/src/core/releases/store/createReleaseStore.ts +++ b/packages/sanity/src/core/releases/store/createReleaseStore.ts @@ -10,13 +10,11 @@ import { merge, type Observable, of, - retry, scan, shareReplay, Subject, switchMap, tap, - timeout, } from 'rxjs' import {map, mergeMap, startWith, toArray} from 'rxjs/operators' @@ -129,12 +127,6 @@ export function createReleaseStore(context: { tap(() => fetchPending$.next(true)), concatWith( listenQuery(client, QUERY, {}, {tag: 'releases.listen'}).pipe( - timeout(10_000), // 10s timeout - retry({ - count: 2, - delay: 1_000, - resetOnSuccess: true, - }), tap(() => fetchPending$.next(false)), map((releases) => releases.map(