This is an automated email from the ASF dual-hosted git repository.

pierrejeambrun pushed a commit to branch v3-0-test
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/v3-0-test by this push:
     new 35b4f86c055 [v3-0-test] Update query client strategy (#55528) (#55532)
35b4f86c055 is described below

commit 35b4f86c05539bfad44352827b8d054a730e5404
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Thu Sep 11 17:07:39 2025 -0600

    [v3-0-test] Update query client strategy (#55528) (#55532)
    
    (cherry picked from commit ff5d7f6dfbd5b4ba1decfcfec8465c270f222004)
    
    Co-authored-by: Pierre Jeambrun <[email protected]>
    Co-authored-by: Brent Bovenzi <[email protected]>
---
 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
     },
   },

Reply via email to