mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-07 06:03:09 -06:00
Reduce counters a bit
This commit is contained in:
parent
52aa240586
commit
ad40b054bc
|
|
@ -16,7 +16,7 @@ import (
|
|||
|
||||
func MustCreateCache(maxCost CacheSize, enablePrometheus bool) *ristretto.Cache {
|
||||
cache, err := ristretto.NewCache(&ristretto.Config{
|
||||
NumCounters: 1e6,
|
||||
NumCounters: 1e5,
|
||||
MaxCost: int64(maxCost),
|
||||
BufferItems: 64,
|
||||
Metrics: true,
|
||||
|
|
|
|||
Loading…
Reference in a new issue