mirror of
https://github.com/nezhahq/nezha.git
synced 2025-01-22 12:48:14 -05:00
fix ci
This commit is contained in:
parent
c4011934f7
commit
cb9436a8f7
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user