From cb9436a8f7d98b7d0bec887c327e093022009202 Mon Sep 17 00:00:00 2001 From: naiba Date: Wed, 23 Oct 2024 00:03:19 +0800 Subject: [PATCH] fix ci --- cmd/dashboard/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/dashboard/main.go b/cmd/dashboard/main.go index 16896f0..72b7fcb 100644 --- a/cmd/dashboard/main.go +++ b/cmd/dashboard/main.go @@ -125,7 +125,7 @@ func main() { mixedHandler := newHTTPandGRPCMux(httpHandler, grpcHandler) http2Server := &http2.Server{} - http1Server := &http.Server{Handler: h2c.NewHandler(mixedHandler, http2Server)} + http1Server := &http.Server{Handler: h2c.NewHandler(mixedHandler, http2Server), ReadHeaderTimeout: time.Second * 5} go dispatchReportInfoTask()