all: Fix duplicate words in comments

This commit is contained in:
Eitan Adler
2024-04-11 00:31:33 -07:00
committed by GitHub
parent e9b8bec433
commit bf0b140364
5 changed files with 5 additions and 5 deletions

View File

@@ -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)