Mercurial > hg > orthanc-transfers
diff Plugin/PluginContext.cpp @ 12:34b1875c8e3a
cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 04 Mar 2019 16:12:52 +0100 |
parents | c9e28e31262e |
children | 7d56105ab084 |
line wrap: on
line diff
--- a/Plugin/PluginContext.cpp Mon Mar 04 16:04:52 2019 +0100 +++ b/Plugin/PluginContext.cpp Mon Mar 04 16:12:52 2019 +0100 @@ -31,12 +31,11 @@ unsigned int maxHttpRetries) : pushTransactions_(maxPushTransactions), semaphore_(threadsCount), + pluginUuid_(Orthanc::Toolbox::GenerateUuid()), threadsCount_(threadsCount), targetBucketSize_(targetBucketSize), maxHttpRetries_(maxHttpRetries) { - pluginUuid_ = Orthanc::Toolbox::GenerateUuid(); - cache_.SetMaxMemorySize(memoryCacheSize); LOG(INFO) << "Transfers accelerator will use " << threadsCount << " threads to run HTTP queries";