Mercurial > hg > orthanc
diff OrthancServer/main.cpp @ 2738:3a55b77339ff
fix deadlock in Lua scripts
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 16 Jul 2018 11:19:30 +0200 |
parents | 83c991aeb611 |
children | 959bd8857eb5 |
line wrap: on
line diff
--- a/OrthancServer/main.cpp Sun Jul 15 16:41:43 2018 +0200 +++ b/OrthancServer/main.cpp Mon Jul 16 11:19:30 2018 +0200 @@ -995,9 +995,6 @@ context.GetIndex().SetMaximumStorageSize(0); } - LOG(INFO) << "Initializing Lua for the event handler"; - context.GetLuaScripting().LoadGlobalConfiguration(); - context.GetJobsEngine().GetRegistry().SetMaxCompletedJobs (Configuration::GetGlobalUnsignedIntegerParameter("JobsHistorySize", 10));