Fixed plugin timeout.
This commit is contained in:
parent
9d35a66ad3
commit
34c553f5b4
|
@ -153,7 +153,7 @@ sub data_consumer ($$) {
|
|||
return unless defined $agent;
|
||||
|
||||
# Use the smallest timeout
|
||||
my $timeout = (($plugin->{'max_timeout'} < $pa_config->{'plugin_timeout'}) && $pa_config->{'max_timeout'}) ?
|
||||
my $timeout = (($plugin->{'max_timeout'} < $pa_config->{'plugin_timeout'}) && $plugin->{'max_timeout'}) ?
|
||||
$plugin->{'max_timeout'} : $pa_config->{'plugin_timeout'};
|
||||
|
||||
# Setting default timeout if is invalid
|
||||
|
|
Loading…
Reference in New Issue