Mercurial > hg > orthanc-stone
diff OrthancStone/Sources/Toolbox/ParsedDicomCache.h @ 1714:a878e807cd96
configuration option "DicomCacheSize", warning if cache should be larger
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 30 Nov 2020 17:57:10 +0100 |
parents | 8563ea5d8ae4 |
children | 9ac2a65d4172 |
line wrap: on
line diff
--- a/OrthancStone/Sources/Toolbox/ParsedDicomCache.h Mon Nov 30 17:09:46 2020 +0100 +++ b/OrthancStone/Sources/Toolbox/ParsedDicomCache.h Mon Nov 30 17:57:10 2020 +0100 @@ -36,9 +36,11 @@ const std::string& bucketKey); Orthanc::MemoryObjectCache cache_; + size_t lowCacheSizeWarning_; public: - explicit ParsedDicomCache(size_t size) + explicit ParsedDicomCache(size_t size) : + lowCacheSizeWarning_(0) { cache_.SetMaximumSize(size); }