From 4468e6a66a866df0602da9c1b146851feab82453 Mon Sep 17 00:00:00 2001 From: kaihsun Date: Tue, 6 Feb 2024 04:06:31 +0000 Subject: [PATCH] update --- ray-operator/controllers/ray/utils/dashboard_httpclient.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ray-operator/controllers/ray/utils/dashboard_httpclient.go b/ray-operator/controllers/ray/utils/dashboard_httpclient.go index 4b39394691..140f78eddc 100644 --- a/ray-operator/controllers/ray/utils/dashboard_httpclient.go +++ b/ray-operator/controllers/ray/utils/dashboard_httpclient.go @@ -103,7 +103,7 @@ func FetchHeadServiceURL(ctx context.Context, cli client.Client, rayCluster *ray func (r *RayDashboardClient) InitClient(url string) { r.client = http.Client{ - Timeout: 120 * time.Second, + Timeout: 2 * time.Second, } r.dashboardURL = "http://" + url }