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
c669e0cd0e
commit
404eeaa74e
@ -261,8 +261,6 @@ func configureHttpServer(srv *http.Server, cfg config.ServerConfig) error {
|
|||||||
// todo (ahrtr): should we support configuring other parameters in the future as well?
|
// todo (ahrtr): should we support configuring other parameters in the future as well?
|
||||||
return http2.ConfigureServer(srv, &http2.Server{
|
return http2.ConfigureServer(srv, &http2.Server{
|
||||||
MaxConcurrentStreams: cfg.MaxConcurrentStreams,
|
MaxConcurrentStreams: cfg.MaxConcurrentStreams,
|
||||||
// Override to avoid using priority scheduler which is affected by https://github.com/golang/go/issues/58804.
|
|
||||||
NewWriteScheduler: http2.NewRandomWriteScheduler,
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -61,8 +61,8 @@ var tcs = []testCase{
|
|||||||
{
|
{
|
||||||
name: "TLS",
|
name: "TLS",
|
||||||
config: etcdProcessClusterConfig{clusterSize: 1, isClientAutoTLS: true, clientTLS: clientTLS},
|
config: etcdProcessClusterConfig{clusterSize: 1, isClientAutoTLS: true, clientTLS: clientTLS},
|
||||||
maxWatchDelay: 3 * time.Second,
|
maxWatchDelay: 150 * time.Millisecond,
|
||||||
dbSizeBytes: 500 * Kilo,
|
dbSizeBytes: 5 * Mega,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "SeparateHttpNoTLS",
|
name: "SeparateHttpNoTLS",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user