aboutsummaryrefslogtreecommitdiffhomepage
path: root/cache
diff options
context:
space:
mode:
authorEitan Adler <[email protected]>2024-04-11 00:31:33 -0700
committerGitHub <[email protected]>2024-04-11 09:31:33 +0200
commitbf0b14036471db89c90e21c31cbf2f732ca40ab9 (patch)
treee811b341cc3344d856dfd33ee41888ae0f28c6e4 /cache
parente9b8bec433238df4ae081528bb347dec7f029fd4 (diff)
downloadhugo-bf0b14036471db89c90e21c31cbf2f732ca40ab9.tar.gz
hugo-bf0b14036471db89c90e21c31cbf2f732ca40ab9.zip
all: Fix duplicate words in comments
Diffstat (limited to 'cache')
-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)