|
@@ -458,7 +458,7 @@ func (sched *Scheduler) scheduleOne() {
|
|
|
select {
|
|
|
// clean the cache if 10 seconds are passed
|
|
|
case <-customcache.LabCache.Timeout.C:
|
|
|
- klog.Infof("Time to erase")
|
|
|
+ klog.Infof("Time to erase: %v", time.Now())
|
|
|
//customcache.LabCache.Timeout.Stop()
|
|
|
customcache.LabCache.CleanCache()
|
|
|
default:
|