summaryrefslogtreecommitdiffstats
path: root/cache/dynacache/dynacache.go
diff options
context:
space:
mode:
Diffstat (limited to 'cache/dynacache/dynacache.go')
-rw-r--r--cache/dynacache/dynacache.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cache/dynacache/dynacache.go b/cache/dynacache/dynacache.go
index fed4d120e..eab251e5d 100644
--- a/cache/dynacache/dynacache.go
+++ b/cache/dynacache/dynacache.go
@@ -340,7 +340,7 @@ func GetOrCreatePartition[K comparable, V any](c *Cache, name string, opts Optio
return p.(*Partition[K, V])
}
- // At this point, we don't know the the number of partitions or their configuration, but
+ // At this point, we don't know the number of partitions or their configuration, but
// this will be re-adjusted later.
const numberOfPartitionsEstimate = 10
maxSize := opts.CalculateMaxSize(c.opts.MaxSize / numberOfPartitionsEstimate)