This is an automated email from the ASF dual-hosted git repository. kaxilnaik pushed a commit to branch v3-1-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit f87674b12d8897065ce35183a494189added3d77 Author: Pierre Jeambrun <[email protected]> AuthorDate: Thu Sep 11 21:06:04 2025 +0200 Update query client strategy (#55528) (cherry picked from commit ff5d7f6dfbd5b4ba1decfcfec8465c270f222004) --- airflow-core/src/airflow/ui/src/queryClient.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/airflow-core/src/airflow/ui/src/queryClient.ts b/airflow-core/src/airflow/ui/src/queryClient.ts index f090a7c7939..b3147032ace 100644 --- a/airflow-core/src/airflow/ui/src/queryClient.ts +++ b/airflow-core/src/airflow/ui/src/queryClient.ts @@ -29,15 +29,13 @@ if (OpenAPI.BASE.endsWith("/")) { export const client = new QueryClient({ defaultOptions: { mutations: { - retry: 1, - retryDelay: 500, + retry: 3, }, queries: { initialDataUpdatedAt: new Date().setMinutes(-6), // make sure initial data is already expired refetchOnMount: true, // Refetches stale queries, not "always" refetchOnWindowFocus: false, - retry: 1, - retryDelay: 500, + retry: 3, staleTime: 5 * 60 * 1000, // 5 minutes }, },
