Skip to content

Commit

Permalink
Merge pull request #1132 from jennydaman/faster-pacsfiles-pull
Browse files Browse the repository at this point in the history
Increase poll frequency for files from oxidicom 0.5Hz -> 2Hz
  • Loading branch information
jennydaman authored Mar 28, 2024
2 parents ffeda38 + 204b8fc commit 20daeb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Pacs/components/SeriesCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ const SeriesCardCopy = ({ series }: { series: any }) => {
queryKey: ["pacsFiles", SeriesInstanceUID.value],
queryFn: fetchCubeFiles,
refetchInterval: () => {
if (isFetching) return 2000;
if (isFetching) return 500;
return false;
},
refetchOnMount: true,
Expand Down

0 comments on commit 20daeb8

Please sign in to comment.