Skip to content

Commit

Permalink
[TODO] Optimize consistenhash implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
timebertt committed Nov 21, 2023
1 parent cecf01e commit 7ed2911
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/sharding/consistenthash/ring.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import (
type Hash func(data []byte) uint64

// DefaultHash is the default Hash used by Ring.
// TODO: use Sum64String instead
var DefaultHash Hash = xxhash.Sum64

// DefaultTokensPerNode is the default number of virtual nodes per node.
Expand Down

0 comments on commit 7ed2911

Please sign in to comment.