Tweak logging message when datasync wait times out
This commit is contained in:
		
							parent
							
								
									73f78040af
								
							
						
					
					
						commit
						f8ced153f4
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -458,7 +458,7 @@ class DataSync(Subcommand):
 | 
			
		|||
                now = datetime.datetime.utcnow()
 | 
			
		||||
 | 
			
		||||
                if args.timeout and (now - started).seconds >= (args.timeout * 60):
 | 
			
		||||
                    log.warning("wait timeout has been reached, bailing early")
 | 
			
		||||
                    log.warning("timed out after {} minutes, with {} changes in queue".format(args.timeout, count))
 | 
			
		||||
                    sys.exit(1)
 | 
			
		||||
 | 
			
		||||
                if (now - last_logged).seconds >= 60:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue