Skip to content

Commit 02826c3

Browse files
committed
Merge pull request #65 from shawnps/patch-2
fix typos
2 parents 4eab30f + bf5f336 commit 02826c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

groupcache.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,13 +146,13 @@ type Group struct {
146146
cacheBytes int64 // limit for sum of mainCache and hotCache size
147147

148148
// mainCache is a cache of the keys for which this process
149-
// (amongst its peers) is authorative. That is, this cache
149+
// (amongst its peers) is authoritative. That is, this cache
150150
// contains keys which consistent hash on to this process's
151151
// peer number.
152152
mainCache cache
153153

154154
// hotCache contains keys/values for which this peer is not
155-
// authorative (otherwise they would be in mainCache), but
155+
// authoritative (otherwise they would be in mainCache), but
156156
// are popular enough to warrant mirroring in this process to
157157
// avoid going over the network to fetch from a peer. Having
158158
// a hotCache avoids network hotspotting, where a peer's

0 commit comments

Comments
 (0)