increased wait timeout for finding a free ssh host
This commit is contained in:
parent
0a19e9942d
commit
474a727953
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user