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 authored Nov 22, 2024
1 parent e64ea96 commit 41a63c8
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 41a63c8

Please sign in to comment.