mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-05 21:23:10 -06:00
Reduce counters a bit
This commit is contained in:
parent
e4ccddf5b7
commit
1fd4ec1bb6
|
|
@ -15,7 +15,7 @@ import (
|
|||
|
||||
func NewRistrettoCache(maxCost CacheSize, enablePrometheus bool) (*Caches, error) {
|
||||
cache, err := ristretto.NewCache(&ristretto.Config{
|
||||
NumCounters: 1e7,
|
||||
NumCounters: 1e6,
|
||||
MaxCost: int64(maxCost),
|
||||
BufferItems: 64,
|
||||
Metrics: true,
|
||||
|
|
|
|||
Loading…
Reference in a new issue