diff OrthancServer/main.cpp @ 695:c59bc408fb10

parameter to disable the computation of the MD5
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 05 Feb 2014 13:58:00 +0100
parents 2e67366aab83
children ef4569ae7952
line wrap: on
line diff
--- a/OrthancServer/main.cpp	Wed Feb 05 13:26:19 2014 +0100
+++ b/OrthancServer/main.cpp	Wed Feb 05 13:58:00 2014 +0100
@@ -333,6 +333,7 @@
     LOG(WARNING) << "Index directory: " << indexDirectory;
 
     context.SetCompressionEnabled(GetGlobalBoolParameter("StorageCompression", false));
+    context.SetStoreMD5ForAttachments(GetGlobalBoolParameter("StoreMD5ForAttachments", true));
 
     std::list<std::string> luaScripts;
     GetGlobalListOfStringsParameter(luaScripts, "LuaScripts");