Mercurial > hg > orthanc
diff OrthancServer/main.cpp @ 2665:389d050a2e66 jobs
fix deadlock, speed up unit tests
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 08 Jun 2018 13:51:31 +0200 |
parents | a21b244efb37 |
children | 06c0a6b8a871 |
line wrap: on
line diff
--- a/OrthancServer/main.cpp Thu Jun 07 21:37:40 2018 +0200 +++ b/OrthancServer/main.cpp Fri Jun 08 13:51:31 2018 +0200 @@ -969,7 +969,7 @@ DicomUserConnection::SetDefaultTimeout(Configuration::GetGlobalUnsignedIntegerParameter("DicomScuTimeout", 10)); - ServerContext context(database, storageArea); + ServerContext context(database, storageArea, false /* not running unit tests */); context.SetCompressionEnabled(Configuration::GetGlobalBoolParameter("StorageCompression", false)); context.SetStoreMD5ForAttachments(Configuration::GetGlobalBoolParameter("StoreMD5ForAttachments", true));