increased wait timeout for finding a free ssh host

This commit is contained in:
Thorsten Liebig 2011-11-07 11:54:34 +01:00
parent 0a19e9942d
commit 474a727953

View File

@ -8,7 +8,7 @@ function host = FindFreeSSH(host_list, wait_time, command)
% host_list: give a list of possible host % host_list: give a list of possible host
% %
% wait_time: wait x seconds after not finding a free host and rechecking % wait_time: wait x seconds after not finding a free host and rechecking
% default: 60 seconds % default: 600 seconds
% %
% command: unix command to check for free host (empty result --> free) % command: unix command to check for free host (empty result --> free)
% default: 'ps -ewwo user,args | grep openEMS' % default: 'ps -ewwo user,args | grep openEMS'
@ -25,7 +25,7 @@ if (nargin<3)
end end
if (nargin<2) if (nargin<2)
wait_time = 60; wait_time = 600;
end end
while 1 while 1