|
@@ -111,8 +111,9 @@ func InvalidateCache() {
|
|
|
// clean the cache if 10 seconds are passed
|
|
|
case <-customcache.LabCache.Timeout.C:
|
|
|
klog.Infof("Time to erase")
|
|
|
- customcache.LabCache.Timeout.Stop()
|
|
|
+ //customcache.LabCache.Timeout.Stop()
|
|
|
customcache.LabCache.CleanCache()
|
|
|
+
|
|
|
default:
|
|
|
}
|
|
|
}
|