fixed typo
This commit is contained in:
parent
92538ee30d
commit
fd8650d72b
1 changed files with 1 additions and 1 deletions
2
item.go
2
item.go
|
@ -26,5 +26,5 @@ func newItem(key string, value interface{}, expires time.Time) *Item {
|
|||
}
|
||||
|
||||
func (i *Item) shouldPromote(getsPerPromote int32) bool {
|
||||
return atomic.AddInt32(&i.promotions, 1) == getsPerPromote {
|
||||
return atomic.AddInt32(&i.promotions, 1) == getsPerPromote
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue