mirror of
https://github.com/mailgun/groupcache.git
synced 2024-07-01 02:19:12 +00:00
Merge pull request #30 from EverythingMe/fix_replicas
changed default number of replicas in http pool hash ring to 50
This commit is contained in:
commit
8b25adc0f6
|
@ -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