Add new token to limit events to replicate in metaconsole. Tiquet: #2979

(cherry picked from commit 7b7714589b8c2262414f57dbb9a6a8462d21d780)
This commit is contained in:
m-lopez-f 2015-11-18 15:19:35 +01:00
parent d893f6064a
commit 1433ec304e

View File

@ -162,6 +162,9 @@ sub pandora_get_sharedconfig ($$) {
# Metaconsole agent cache. # Metaconsole agent cache.
$pa_config->{"metaconsole_agent_cache"} = pandora_get_tconfig_token ($dbh, 'metaconsole_agent_cache', 0); $pa_config->{"metaconsole_agent_cache"} = pandora_get_tconfig_token ($dbh, 'metaconsole_agent_cache', 0);
#Limit of events replicate in metaconsole
$pa_config->{'replication_limit'} = pandora_get_tconfig_token ($dbh, 'replication_limit', 1000);
} }
########################################################################## ##########################################################################