From 5b0d9906a6563b931a158d8a232c32bbaf53ef4b Mon Sep 17 00:00:00 2001 From: llaffont <llaffont@afi-sa.fr> Date: Tue, 1 Sep 2015 11:24:19 +0200 Subject: [PATCH] hotline #28810 : reduce memory footprint on cosmogramme digital resources indexation --- VERSIONS | 5 +++++ cosmogramme/php/integration/pseudo_notices.php | 5 +++++ library/startup.php | 2 +- 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/VERSIONS b/VERSIONS index b6308c8bd4b..65156ba7754 100644 --- a/VERSIONS +++ b/VERSIONS @@ -1,3 +1,8 @@ +01/09/2015 - v7.2.9 + + - ticket #28810 : diminution de l'empreinte mémoire de cosmogramme à l'indexation des ressources numériques + + 31/08/2015 - v7.2.8 - ticket #28796 : correction de la duplication d'entrées dans les facettes dynamiques si le libellé du champ à indexer est supérieur à 20 caractères diff --git a/cosmogramme/php/integration/pseudo_notices.php b/cosmogramme/php/integration/pseudo_notices.php index 92ce3de63ba..e5374f45006 100644 --- a/cosmogramme/php/integration/pseudo_notices.php +++ b/cosmogramme/php/integration/pseudo_notices.php @@ -257,6 +257,11 @@ if ($phase == 0.7) $ret = $notice->traitePseudoNotice($enreg["type_doc_id"], $enreg); tracePseudoNotice($ret, $enreg); $phase_data["pointeur_reprise"] = $enreg["id"]; + + Class_Album::clearCache(); + Class_AlbumRessource::clearCache(); + Class_Notice::clearCache(); + Class_Exemplaire::clearCache(); } } traceRecapPseudoNotices($phase_data); diff --git a/library/startup.php b/library/startup.php index 73224263e86..2d1891d5620 100644 --- a/library/startup.php +++ b/library/startup.php @@ -64,7 +64,7 @@ function defineConstant($name, $value) { function setupConstants() { defineConstant('BOKEH_MAJOR_VERSION','7.2'); - defineConstant('BOKEH_RELEASE_NUMBER', BOKEH_MAJOR_VERSION . '.8'); + defineConstant('BOKEH_RELEASE_NUMBER', BOKEH_MAJOR_VERSION . '.9'); defineConstant('ROOT_PATH', realpath(dirname(__FILE__).'/..').'/'); -- GitLab