Merge branch 'ent-5460-borrado-de-logs-antiguos-pandora_db-elasticsearch' into 'develop'

Fixed deleting logs

See merge request artica/pandorafms!3072
This commit is contained in:
Daniel Rodriguez 2020-02-25 17:06:04 +01:00
commit 93fd7bcf06
1 changed files with 1 additions and 0 deletions

View File

@ -686,6 +686,7 @@ sub pandora_load_config_pdb ($) {
$conf->{'_days_purge_old_information'} = get_db_value ($dbh, "SELECT value FROM tconfig WHERE token = 'Days_purge_old_information'"); $conf->{'_days_purge_old_information'} = get_db_value ($dbh, "SELECT value FROM tconfig WHERE token = 'Days_purge_old_information'");
$conf->{'_elasticsearch_ip'} = get_db_value ($dbh, "SELECT value FROM tconfig WHERE token = 'elasticsearch_ip'"); $conf->{'_elasticsearch_ip'} = get_db_value ($dbh, "SELECT value FROM tconfig WHERE token = 'elasticsearch_ip'");
$conf->{'_elasticsearch_port'} = get_db_value ($dbh, "SELECT value FROM tconfig WHERE token = 'elasticsearch_port'"); $conf->{'_elasticsearch_port'} = get_db_value ($dbh, "SELECT value FROM tconfig WHERE token = 'elasticsearch_port'");
$conf->{'_server_unique_identifier'} = get_db_value ($dbh, "SELECT value FROM tconfig WHERE token = 'server_unique_identifier'");
$BIG_OPERATION_STEP = $conf->{'_big_operation_step_datos_purge'} $BIG_OPERATION_STEP = $conf->{'_big_operation_step_datos_purge'}
if ( $conf->{'_big_operation_step_datos_purge'} ); if ( $conf->{'_big_operation_step_datos_purge'} );