6c56a73b by astaxie

check expird second

1 parent 5f36a3ae
......@@ -110,7 +110,7 @@ func (bc *MemoryCache) vaccuum() {
return
}
for {
<-time.After(time.Duration(bc.dur))
<-time.After(time.Duration(bc.dur) * time.Second)
if bc.items == nil {
return
}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!