diff OrthancServer/Plugins/Samples/Housekeeper/Plugin.cpp @ 5635:0e16e677fe64

fixed broken /instances/../tags after reconstructing studies when IngestTranscoding has changed
author Alain Mazy <am@orthanc.team>
date Tue, 21 May 2024 17:09:57 +0200
parents 3a6d6d35193c
children f7adfb22e20e
line wrap: on
line diff
--- a/OrthancServer/Plugins/Samples/Housekeeper/Plugin.cpp	Tue May 21 12:28:21 2024 +0200
+++ b/OrthancServer/Plugins/Samples/Housekeeper/Plugin.cpp	Tue May 21 17:09:57 2024 +0200
@@ -565,7 +565,7 @@
         {
           Json::Value result;
 
-          if (needsReconstruct)
+          if (needsReconstruct || needsReingest)
           {
             Json::Value request;
             if (needsReingest)
@@ -657,7 +657,7 @@
     }
   }
 
-  if (!needsProcessing)
+  if (!needsProcessing && !force_)
   {
     ORTHANC_PLUGINS_LOG_WARNING("Housekeeper: everything has been processed already !");
     return;