We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 518330b commit db24187Copy full SHA for db24187
pkg/loadbalance/iterator.go
@@ -18,8 +18,6 @@ package loadbalance
18
19
import (
20
"sync/atomic"
21
-
22
- "github.com/bytedance/gopkg/lang/fastrand"
23
)
24
25
// round implement a strict Round Robin algorithm
@@ -34,8 +32,6 @@ func (r *round) Next() uint64 {
34
32
}
35
33
36
func newRound() *round {
37
- r := &round{
38
- state: fastrand.Uint64(), // every thread have a rand start order
39
- }
+ r := &round{}
40
return r
41
0 commit comments