diff OrthancServer/ServerIndex.cpp @ 1158:badc14fee61f db-changes

speed up db
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 16 Sep 2014 18:01:42 +0200
parents ac36589f699e
children 1ea4094d077c
line wrap: on
line diff
--- a/OrthancServer/ServerIndex.cpp	Tue Sep 16 14:22:22 2014 +0200
+++ b/OrthancServer/ServerIndex.cpp	Tue Sep 16 18:01:42 2014 +0200
@@ -137,6 +137,13 @@
         sizeOfFilesToRemove_ += info.GetCompressedSize();
       }
 
+      virtual void SignalResourceDeleted(ResourceType type,
+                                         const std::string& publicId)
+      {
+        LOG(INFO) << "Resource " << publicId << " of type " << EnumerationToString(type) << " is deleted";
+      }
+
+
       bool HasRemainingLevel() const
       {
         return hasRemainingLevel_;