removed print line to fix #1
This commit is contained in:
parent
4456358470
commit
7e109b11cc
2 changed files with 1 additions and 2 deletions
|
@ -2,8 +2,8 @@ package ccache
|
|||
|
||||
import (
|
||||
"github.com/karlseguin/gspec"
|
||||
"testing"
|
||||
"strconv"
|
||||
"testing"
|
||||
"time"
|
||||
)
|
||||
|
||||
|
|
1
item.go
1
item.go
|
@ -39,7 +39,6 @@ func newItem(key string, value interface{}, expires time.Time) *Item {
|
|||
}
|
||||
|
||||
func (i *Item) shouldPromote(getsPerPromote int32) bool {
|
||||
println(atomic.LoadInt32(&i.promotions))
|
||||
return atomic.AddInt32(&i.promotions, 1) == getsPerPromote
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue