Nix daemon: respect build timeout from the client
This commit is contained in:
		
							parent
							
								
									08d96ffad0
								
							
						
					
					
						commit
						934cf2d1f4
					
				
					 2 changed files with 5 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -3231,7 +3231,7 @@ void Worker::waitForInput()
 | 
			
		|||
            after - before >= (time_t) settings.buildTimeout)
 | 
			
		||||
        {
 | 
			
		||||
            printMsg(lvlError,
 | 
			
		||||
                format("%1% timed out after %2% seconds of activity")
 | 
			
		||||
                format("%1% timed out after %2% seconds")
 | 
			
		||||
                % goal->getName() % settings.buildTimeout);
 | 
			
		||||
            goal->cancel();
 | 
			
		||||
        }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue