Skip to content

Commit

Permalink
fix benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
bucko909 committed Aug 29, 2024
1 parent 83781e3 commit 8fcdb64
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/carbon/tests/benchmark_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
NaiveStrategy, MaxStrategy, RandomStrategy, SortedStrategy, \
TimeSortedStrategy, BucketMaxStrategy

from carbon.conf import settings

settings.CACHE_SIZE_LOW_WATERMARK = settings.MAX_CACHE_SIZE * 0.95
settings.CACHE_SIZE_HARD_MAX = settings.MAX_CACHE_SIZE * 1.05

metric_cache = _MetricCache(DrainStrategy)
count = 0
Expand Down

0 comments on commit 8fcdb64

Please sign in to comment.