Mercurial > hg > orthanc
diff OrthancServer/Sources/ServerToolbox.cpp @ 5048:22966345eaba
skip StorageCache when verifying md5 or when re-compressing attachments
author | Alain Mazy <am@osimis.io> |
---|---|
date | Wed, 29 Jun 2022 13:15:20 +0200 |
parents | b1fe3b44ce1d |
children | dd085f7e7e71 |
line wrap: on
line diff
--- a/OrthancServer/Sources/ServerToolbox.cpp Wed Jun 29 09:43:35 2022 +0200 +++ b/OrthancServer/Sources/ServerToolbox.cpp Wed Jun 29 13:15:20 2022 +0200 @@ -144,8 +144,7 @@ try { // Read and parse the content of the DICOM file - StorageCache cache; // we create a temporary cache for this operation (required by the StorageAccessor) - StorageAccessor accessor(storageArea, cache); + StorageAccessor accessor(storageArea, NULL); // no cache std::string content; accessor.Read(content, attachment);