Achilleas Tzenetopoulos 5 lat temu
rodzic
commit
fdd66e18ae
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      kubernetes-v1.15.4/pkg/scheduler/scheduler.go

+ 1 - 1
kubernetes-v1.15.4/pkg/scheduler/scheduler.go

@@ -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: