Skip to content

Commit

Permalink
Merge pull request #65 from shawnps/patch-2
Browse files Browse the repository at this point in the history
fix typos
  • Loading branch information
bradfitz committed May 16, 2016
2 parents 4eab30f + bf5f336 commit 02826c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions groupcache.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,13 +146,13 @@ type Group struct {
cacheBytes int64 // limit for sum of mainCache and hotCache size

// mainCache is a cache of the keys for which this process
// (amongst its peers) is authorative. That is, this cache
// (amongst its peers) is authoritative. That is, this cache
// contains keys which consistent hash on to this process's
// peer number.
mainCache cache

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

0 comments on commit 02826c3

Please sign in to comment.