File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -79,14 +79,12 @@ type Config struct {
79
79
80
80
// A function called by the client to get the current time, `time.Now` is
81
81
// used by default.
82
- // This field is not exported and only exposed internally to let unit tests
83
- // mock the current time.
82
+ // This field is not exported and only exposed internally to control concurrency.
84
83
now func () time.Time
85
84
86
85
// The maximum number of goroutines that will be spawned by a client to send
87
86
// requests to the backend API.
88
- // This field is not exported and only exposed internally to let unit tests
89
- // mock the current time.
87
+ // This field is not exported and only exposed internally to control concurrency.
90
88
maxConcurrentRequests int
91
89
}
92
90
You can’t perform that action at this time.
0 commit comments