6c56a73b by astaxie

check expird second

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