mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Return to default write scheduler since golang.org/x/net@v0.11.0 started using round robin
Introduction of round robin 120fc906b3
Added in v0.10.0 https://github.com/golang/net/compare/v0.10.0...v0.11.0
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
This commit is contained in:
parent
900877648d
commit
9f40116fa0
@ -262,8 +262,6 @@ 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,
|
||||
})
|
||||
}
|
||||
|
||||
|
@ -63,8 +63,8 @@ var tcs = []testCase{
|
||||
{
|
||||
name: "TLS",
|
||||
config: e2e.EtcdProcessClusterConfig{ClusterSize: 1, Client: e2e.ClientConfig{ConnectionType: e2e.ClientTLS}},
|
||||
maxWatchDelay: 3 * time.Second,
|
||||
dbSizeBytes: 500 * Kilo,
|
||||
maxWatchDelay: 150 * time.Millisecond,
|
||||
dbSizeBytes: 5 * Mega,
|
||||
},
|
||||
{
|
||||
name: "SeparateHttpNoTLS",
|
||||
|
Loading…
x
Reference in New Issue
Block a user