mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
Add new token to limit events to replicate in metaconsole. Tiquet: #2979
(cherry picked from commit 7b7714589b8c2262414f57dbb9a6a8462d21d780)
This commit is contained in:
parent
d893f6064a
commit
1433ec304e
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
##########################################################################
|
##########################################################################
|
||||||
|
Loading…
x
Reference in New Issue
Block a user