Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for AddAfter (0.12 sec)

  1. pkg/controller/job/job_controller.go

    		if oldADS == nil || *oldADS != *curADS {
    			passed := jm.clock.Since(curJob.Status.StartTime.Time)
    			total := time.Duration(*curADS) * time.Second
    			// AddAfter will handle total < passed
    			jm.queue.AddAfter(key, total-passed)
    			logger.V(4).Info("job's ActiveDeadlineSeconds updated, will rsync", "key", key, "interval", total-passed)
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
Back to top