Skip to content

Commit

Permalink
fix(core): remove timeout and retry from releases store (#7866)
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrobonamin committed Nov 23, 2024
1 parent 3ae279b commit 4632d2c
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions packages/sanity/src/core/releases/store/createReleaseStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit 4632d2c

Please sign in to comment.