Mercurial > hg > orthanc
comparison OrthancServer/Sources/ServerJobs/ResourceModificationJob.cpp @ 5558:c1ed59a5bdc2
new LimitToThisLevelMainDicomTags reconstruct mode + * Housekeeper plugin: Added an option LimitMainDicomTagsReconstructLevel
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Fri, 19 Apr 2024 11:27:39 +0200 |
parents | 4b3f5986eca1 |
children | f7adfb22e20e |
comparison
equal
deleted
inserted
replaced
5557:87c0fbc8f457 | 5558:c1ed59a5bdc2 |
---|---|
184 for (std::set<std::string>::const_iterator it = instancesToReconstruct_.begin(); it != instancesToReconstruct_.end(); ++it) | 184 for (std::set<std::string>::const_iterator it = instancesToReconstruct_.begin(); it != instancesToReconstruct_.end(); ++it) |
185 { | 185 { |
186 ServerContext::DicomCacheLocker locker(GetContext(), *it); | 186 ServerContext::DicomCacheLocker locker(GetContext(), *it); |
187 ParsedDicomFile& modifiedDicom = locker.GetDicom(); | 187 ParsedDicomFile& modifiedDicom = locker.GetDicom(); |
188 | 188 |
189 GetContext().GetIndex().ReconstructInstance(modifiedDicom); | 189 GetContext().GetIndex().ReconstructInstance(modifiedDicom, false, ResourceType_Instance /* dummy */); |
190 } | 190 } |
191 } | 191 } |
192 | 192 |
193 } | 193 } |
194 | 194 |