Skip to content

Commit

Permalink
PMM-13409 Increase refetch interval to 1 sec
Browse files Browse the repository at this point in the history
  • Loading branch information
matejkubinec committed Oct 22, 2024
1 parent 6e8d69d commit 5b56511
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/pages/updates/update-log/UpdateLog.hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const useUpdateLog = (authToken: string) => {

return getUpdateStatus({ authToken, logOffset });
},
refetchInterval: ({ state }) => (state.data?.done ? 0 : 500),
refetchInterval: ({ state }) => (state.data?.done ? 0 : 1000),
});

useEffect(() => {
Expand Down

0 comments on commit 5b56511

Please sign in to comment.