Преглед на файлове

*: docs and code %s%maximal%maximum%g

maximum is a more common word, use it instead
Brandon Philips преди 10 години
родител
ревизия
740187f199
променени са 3 файла, в които са добавени 4 реда и са изтрити 4 реда
  1. 1 1
      Documentation/admin_guide.md
  2. 2 2
      proxy/proxy.go
  3. 1 1
      rafthttp/pipeline_test.go

+ 1 - 1
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)).
 

+ 2 - 2
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

+ 1 - 1
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{}