changeset 5146:4a0dfa23d28c

doc
author Alain Mazy <am@osimis.io>
date Fri, 27 Jan 2023 11:25:56 +0100
parents df040c83796c
children 19ccae2e0371
files OrthancServer/Sources/ServerJobs/ThreadedSetOfInstancesJob.cpp
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancServer/Sources/ServerJobs/ThreadedSetOfInstancesJob.cpp	Fri Jan 27 11:23:35 2023 +0100
+++ b/OrthancServer/Sources/ServerJobs/ThreadedSetOfInstancesJob.cpp	Fri Jan 27 11:25:56 2023 +0100
@@ -349,7 +349,9 @@
 
     if (started_)
     {
-      // TODO: cleanup the instances that have been generated during the previous run
+      // We actually can not clean the instances that would have been generated during a previous run
+      // because the generated instances may or may not have the same orthanc ids as the source
+      // it is too dangerous to guess if they should be deleted or not
       currentStep_ = ThreadedJobStep_NotStarted;
       stopRequested_ = false;
       processedInstances_.clear();