2014-01-09 Junichi Satoh <junichi@rworks.jp>
* lib/PandoraFMS/PluginServer.pm: Fixed that 'plugin_timeout' in pandora_server.conf is not used when max_timeout is 0. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9301 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
89e0ff6ea3
commit
4d8ede7f67
|
@ -1,3 +1,8 @@
|
|||
2014-01-09 Junichi Satoh <junichi@rworks.jp>
|
||||
|
||||
* lib/PandoraFMS/PluginServer.pm: Fixed that 'plugin_timeout' in
|
||||
pandora_server.conf is not used when max_timeout is 0.
|
||||
|
||||
2014-01-08 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* lib/PandoraFMS/DataServer.pm: Fixed a typo that prevented timestamps in
|
||||
|
|
|
@ -152,7 +152,7 @@ sub data_consumer ($$) {
|
|||
return unless defined $agent;
|
||||
|
||||
# Use the smallest timeout
|
||||
my $timeout = ($plugin->{'max_timeout'} < $pa_config->{'plugin_timeout'}) ?
|
||||
my $timeout = (($plugin->{'max_timeout'} < $pa_config->{'plugin_timeout'}) && $pa_config->{'max_timeout'}) ?
|
||||
$plugin->{'max_timeout'} : $pa_config->{'plugin_timeout'};
|
||||
|
||||
# Setting default timeout if is invalid
|
||||
|
|
Loading…
Reference in New Issue