mirror of
https://github.com/mailgun/groupcache.git
synced 2024-11-16 14:10:04 +00:00
changed default number of replicas in http pool hash ring to 50, and fixed hash ring benchmark
This commit is contained in:
parent
0ba15ac99c
commit
21fc61ac51
@ -93,7 +93,7 @@ func BenchmarkGet512(b *testing.B) { benchmarkGet(b, 512) }
|
||||
|
||||
func benchmarkGet(b *testing.B, shards int) {
|
||||
|
||||
hash := New(shards, nil)
|
||||
hash := New(50, nil)
|
||||
|
||||
var buckets []string
|
||||
for i := 0; i < shards; i++ {
|
||||
|
Loading…
Reference in New Issue
Block a user