We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 08220c6 commit a7a5f5fCopy full SHA for a7a5f5f
conjure-go-client/httpclient/internal/rr_selector.go
@@ -29,7 +29,8 @@ type roundRobinSelector struct {
29
}
30
31
// NewRoundRobinURISelector returns a URI scorer that uses a round robin algorithm for selecting URIs when scoring
32
-// using a rand.Rand seeded by the nanoClock function. The middleware no-ops on each request.
+// using a rand.Rand seeded by the nanoClock function. The middleware no-ops on each request. This selector will always
33
+// return one URI.
34
func NewRoundRobinURISelector(nanoClock func() int64) URISelector {
35
return &roundRobinSelector{
36
source: rand.NewSource(nanoClock()),
0 commit comments