Skip to content

Commit

Permalink
refactor: alarm get 요청도 1분마다 재실행하도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
00kang committed Nov 21, 2024
1 parent 170d167 commit a5b7f8a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/src/hooks/queries/useFetchAlarm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,7 @@ export const useFetchAlarmList = () => {
queryClient.invalidateQueries({ queryKey: [QUERY_KEYS.ALARM_COUNT] });
return result;
},
refetchInterval: 60000,
refetchIntervalInBackground: false,
});
};

0 comments on commit a5b7f8a

Please sign in to comment.