Skip to content

Commit

Permalink
Increase poll frequency for files from oxidicom 0.5Hz -> 2Hz
Browse files Browse the repository at this point in the history
  • Loading branch information
jennydaman committed Mar 28, 2024
1 parent ffeda38 commit 204b8fc
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 204b8fc

Please sign in to comment.