# HG changeset patch # User Alain Mazy # Date 1747213055 -7200 # Node ID 51810284444bca0939916958e78804000a1ed1a0 # Parent a0fec542812e517e967c27fdf22b4b94cd982b95 fix HK: LimitMainDicomTagsReconstructLevel ignored if full processing is required diff -r a0fec542812e -r 51810284444b NEWS --- a/NEWS Mon May 12 13:03:16 2025 +0200 +++ b/NEWS Wed May 14 10:57:35 2025 +0200 @@ -5,7 +5,10 @@ ----------- * In verbose logs, added the elapsed time spent in each HTTP call. - +* Housekeeper plugin: + - If "LimitMainDicomTagsReconstructLevel" was set, files were not transcoded if they had to. + The "LimitMainDicomTagsReconstructLevel" configuration is now ignored when a full processing + is required. Version 1.12.7 (2025-04-07) diff -r a0fec542812e -r 51810284444b OrthancServer/Plugins/Samples/Housekeeper/Plugin.cpp --- a/OrthancServer/Plugins/Samples/Housekeeper/Plugin.cpp Mon May 12 13:03:16 2025 +0200 +++ b/OrthancServer/Plugins/Samples/Housekeeper/Plugin.cpp Wed May 14 10:57:35 2025 +0200 @@ -651,6 +651,13 @@ needsFullProcessing = needsReconstruct || needsReingest || needsDicomWebCaching; needsProcessing = needsFullProcessing; + if (needsFullProcessing && !limitToChange_.empty()) + { + ORTHANC_PLUGINS_LOG_WARNING("Housekeeper: full processing needed -> ignoring the \"LimitMainDicomTagsReconstructLevel\" configuration"); + limitToChange_.clear(); + limitToUrl_.clear(); + } + // if a processing was in progress, check if the config has changed since if (pluginStatus_.currentlyProcessingConfiguration.IsDefined()) { @@ -679,7 +686,7 @@ } else { - ORTHANC_PLUGINS_LOG_WARNING("Housekeeper: the DB configuration has changed since last run, will reprocess the whole DB !"); + ORTHANC_PLUGINS_LOG_WARNING("Housekeeper: the Orthanc configuration has changed since last run, will reprocess the whole DB !"); } Json::Value changes; @@ -695,7 +702,7 @@ } else { - ORTHANC_PLUGINS_LOG_WARNING("Housekeeper: the DB configuration has not changed since last run, will continue processing changes"); + ORTHANC_PLUGINS_LOG_WARNING("Housekeeper: the Orthanc configuration has not changed since last run, will continue processing changes"); } bool completed = false;