Skip to content

Commit

Permalink
Merge pull request #185 from Workiva/fix-non-aligned-read
Browse files Browse the repository at this point in the history
RM-25125 Fix non aligned read
  • Loading branch information
dustinhiatt-wf authored Feb 13, 2018
2 parents 9937fb4 + b358731 commit 900cfe0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cache/cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,9 @@ func (c *cache) Remove(keys ...string) {
}

func (c *cache) Size() uint64 {
c.Lock()
defer c.Unlock()

return c.size
}

Expand Down

0 comments on commit 900cfe0

Please sign in to comment.