Skip to content

Commit 31a483d

Browse files
committed
fix: app ping retry interval
1 parent 6a7532b commit 31a483d

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/components/Dashboard/Tiles/Apps/AppPing.tsx

+1-7
Original file line numberDiff line numberDiff line change
@@ -112,13 +112,7 @@ const usePing = (app: AppType) => {
112112
enabled: isActive,
113113
refetchOnWindowFocus: false,
114114
refetchInterval: 1000 * 60,
115-
retryDelay(failureCount, error) {
116-
console.error(`Unable to retry app ping for app '${app.name}' (${app.id})`, error);
117-
if (failureCount > 3) {
118-
return 60 * 1000;
119-
}
120-
return 3 * 1000;
121-
},
115+
retryDelay: 1000,
122116
cacheTime: 1000 * 60,
123117
retryOnMount: true,
124118
select: (data) => {

0 commit comments

Comments
 (0)