Compare commits
	
		
			1 commit
		
	
	
		
			a16dc6b73e
			...
			2cfea46852
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 2cfea46852 | 
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -81,7 +81,7 @@ func (d *daemon) process(ctx context.Context) {
 | 
			
		|||
		case <-ticker.C:
 | 
			
		||||
			now := time.Now()
 | 
			
		||||
			var elapsed time.Duration = 0
 | 
			
		||||
			if !lastRun.IsZero() {
 | 
			
		||||
			if !lastRun.IsZero(){
 | 
			
		||||
				elapsed = now.Sub(lastRun)
 | 
			
		||||
				if elapsed > periodGrace {
 | 
			
		||||
					klog.Warningf("Processing loop lag: took %s, want %s", elapsed, period)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue