diff --git a/server/embed/serve.go b/server/embed/serve.go index 579e22a369f..5dd3c917fa9 100644 --- a/server/embed/serve.go +++ b/server/embed/serve.go @@ -209,6 +209,8 @@ func configureHttpServer(srv *http.Server, cfg config.ServerConfig) error { // todo (ahrtr): should we support configuring other parameters in the future as well? return http2.ConfigureServer(srv, &http2.Server{ MaxConcurrentStreams: cfg.MaxConcurrentStreams, + // Override to avoid using priority scheduler which is affected by https://github.com/golang/go/issues/58804. + NewWriteScheduler: http2.NewRandomWriteScheduler, }) }