File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -622,7 +622,7 @@ func recvBufferPool(bufferPool SharedBufferPool) ServerOption {
622622// workload (assuming a QPS of a few thousand requests/sec).
623623const serverWorkerResetThreshold = 1 << 16
624624
625- // serverWorkers blocks on a *transport.Stream channel forever and waits for
625+ // serverWorker blocks on a *transport.Stream channel forever and waits for
626626// data to be fed by serveStreams. This allows multiple requests to be
627627// processed by the same goroutine, removing the need for expensive stack
628628// re-allocations (see the runtime.morestack problem [1]).
Original file line number Diff line number Diff line change @@ -1183,12 +1183,12 @@ func (a *csAttempt) finish(err error) {
11831183 a .mu .Unlock ()
11841184}
11851185
1186- // newClientStream creates a ClientStream with the specified transport, on the
1186+ // newNonRetryClientStream creates a ClientStream with the specified transport, on the
11871187// given addrConn.
11881188//
11891189// It's expected that the given transport is either the same one in addrConn, or
11901190// is already closed. To avoid race, transport is specified separately, instead
1191- // of using ac.transpot .
1191+ // of using ac.transport .
11921192//
11931193// Main difference between this and ClientConn.NewStream:
11941194// - no retry
You can’t perform that action at this time.
0 commit comments