From 740187f199a12652ca1b7bddb7b3489160103d84 Mon Sep 17 00:00:00 2001 From: Brandon Philips Date: Mon, 22 Jun 2015 16:06:57 -0700 Subject: [PATCH] *: docs and code %s%maximal%maximum%g maximum is a more common word, use it instead --- Documentation/admin_guide.md | 2 +- proxy/proxy.go | 4 ++-- rafthttp/pipeline_test.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Documentation/admin_guide.md b/Documentation/admin_guide.md index d8ab2dabb..a6906321b 100644 --- a/Documentation/admin_guide.md +++ b/Documentation/admin_guide.md @@ -212,7 +212,7 @@ If timeout happens several times continuously, administrators should check statu ### Best Practices -#### Maximal OS threads +#### Maximum OS threads By default, etcd uses the default configuration of the Go 1.4 runtime, which means that at most one operating system thread will be used to execute code simultaneously. (Note that this default behavior [may change in Go 1.5](https://docs.google.com/document/d/1At2Ls5_fhJQ59kDK2DFVhFu3g5mATSXqqV5QrxinasI/edit)). diff --git a/proxy/proxy.go b/proxy/proxy.go index 295fede53..299e9709d 100644 --- a/proxy/proxy.go +++ b/proxy/proxy.go @@ -19,8 +19,8 @@ import ( ) const ( - // DefaultMaxIdleConnsPerHost indicates the default maximal idle connections - // maintained between proxy and each member. We set it to 128 to + // DefaultMaxIdleConnsPerHost indicates the default maximum idle connection + // count maintained between proxy and each member. We set it to 128 to // let proxy handle 128 concurrent requests in long term smoothly. // If the number of concurrent requests is bigger than this value, // proxy needs to create one new connection when handling each request in diff --git a/rafthttp/pipeline_test.go b/rafthttp/pipeline_test.go index caf1d57c5..03808c3da 100644 --- a/rafthttp/pipeline_test.go +++ b/rafthttp/pipeline_test.go @@ -52,7 +52,7 @@ func TestPipelineSend(t *testing.T) { } } -func TestPipelineExceedMaximalServing(t *testing.T) { +func TestPipelineExceedMaximumServing(t *testing.T) { tr := newRoundTripperBlocker() picker := mustNewURLPicker(t, []string{"http://localhost:2380"}) fs := &stats.FollowerStats{}