From b4f397d9e055c6a19b257f7de746ff79f487d0c7 Mon Sep 17 00:00:00 2001 From: Tristan WAGNER Date: Mon, 9 Dec 2024 16:50:00 +0100 Subject: [PATCH] feat(zimbra): disable refetch & retries by default ref: MANAGER-16089 Signed-off-by: Tristan WAGNER --- packages/manager/apps/zimbra/src/queryClient.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/manager/apps/zimbra/src/queryClient.ts b/packages/manager/apps/zimbra/src/queryClient.ts index 94100b5328ad..396694a8645f 100644 --- a/packages/manager/apps/zimbra/src/queryClient.ts +++ b/packages/manager/apps/zimbra/src/queryClient.ts @@ -4,6 +4,9 @@ const queryClient = new QueryClient({ defaultOptions: { queries: { staleTime: 300_000, + retry: false, + refetchOnReconnect: false, + refetchOnWindowFocus: false, }, }, });