diff --git a/src/components/Dashboard/Tiles/Apps/AppPing.tsx b/src/components/Dashboard/Tiles/Apps/AppPing.tsx index be58ec2ea..7afabf673 100644 --- a/src/components/Dashboard/Tiles/Apps/AppPing.tsx +++ b/src/components/Dashboard/Tiles/Apps/AppPing.tsx @@ -111,15 +111,9 @@ const usePing = (app: AppType) => { retry: false, enabled: isActive, refetchOnWindowFocus: false, - retryDelay(failureCount, error) { - // TODO: Add logic to retry on timeout - return 3000; - }, - // 5 minutes of cache - cacheTime: 1000 * 60 * 5, - staleTime: 1000 * 60 * 5, + refetchInterval: 1000 * 60, + cacheTime: 1000 * 30, retryOnMount: true, - select: (data) => { const isOk = isStatusOk(app, data.status); if (isOk)