build-remote: Don't use a SSH master
This is unnecessary because we make only one connection.
This commit is contained in:
		
							parent
							
								
									d140c75530
								
							
						
					
					
						commit
						d3eb1cf3bb
					
				
					 3 changed files with 9 additions and 1 deletions
				
			
		|  | @ -233,7 +233,9 @@ int main (int argc, char * * argv) | |||
|                 lock = -1; | ||||
| 
 | ||||
|                 try { | ||||
|                     sshStore = openStore("ssh://" + bestMachine->hostName + "?ssh-key=" + bestMachine->sshKey); | ||||
|                     sshStore = openStore("ssh://" + bestMachine->hostName, | ||||
|                         { {"ssh-key", bestMachine->sshKey }, | ||||
|                           {"max-connections", "1" } }); | ||||
|                     hostName = bestMachine->hostName; | ||||
|                 } catch (std::exception & e) { | ||||
|                     printError("unable to open SSH connection to ‘%s’: %s; trying other available machines...", | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue