We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84fc0bf commit f8cdf81Copy full SHA for f8cdf81
config.go
@@ -79,14 +79,12 @@ type Config struct {
79
80
// A function called by the client to get the current time, `time.Now` is
81
// used by default.
82
- // This field is not exported and only exposed internally to let unit tests
83
- // mock the current time.
+ // This field is not exported and only exposed internally to control concurrency.
84
now func() time.Time
85
86
// The maximum number of goroutines that will be spawned by a client to send
87
// requests to the backend API.
88
89
90
maxConcurrentRequests int
91
}
92
0 commit comments