Merge branch 'ent-6856-Warning-feo-server' into 'develop'
Applied fix Closes pandora_enterprise#6856 See merge request artica/pandorafms!3725
This commit is contained in:
commit
1324725263
|
@ -1556,6 +1556,10 @@ sub ping ($$) {
|
|||
1
|
||||
);
|
||||
|
||||
# Set default values if config is not defined.
|
||||
$timeout = 4 if !defined($timeout);
|
||||
$retries = 4 if !defined($retries);
|
||||
|
||||
# Windows
|
||||
if (($^O eq "MSWin32") || ($^O eq "MSWin32-x64") || ($^O eq "cygwin")){
|
||||
$timeout *= 1000; # Convert the timeout to milliseconds.
|
||||
|
|
Loading…
Reference in New Issue