Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
hjr265 committed Sep 10, 2023
1 parent 8609a29 commit 2b94174
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redsync.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ func WithShufflePools(b bool) Option {
})
}

// randomPools shuffle redis pools.
// randomPools shuffles Redis pools.
func randomPools(pools []redis.Pool) {
rand.Shuffle(len(pools), func(i, j int) {
pools[i], pools[j] = pools[j], pools[i]
Expand Down

0 comments on commit 2b94174

Please sign in to comment.