# HG changeset patch # User Alain Mazy # Date 1767891046 -3600 # Node ID a9f425e69b3309067296447bf65d89fb52d25fab # Parent 6cb454c42583fd8f3bf99300de743af1169deab8 Allow executing multiple '/queries/../answers/../retrieve' in parallel diff -r 6cb454c42583 -r a9f425e69b33 NEWS --- a/NEWS Fri Jan 02 12:49:21 2026 +0100 +++ b/NEWS Thu Jan 08 17:50:46 2026 +0100 @@ -17,6 +17,8 @@ * Fix "LimitFindResults" and "LimitFindInstances" configurations that were not applied to C-FIND (bug introduced in 1.12.5). +* Allow executing multiple "/queries/../answers/../retrieve" in parallel + https://discourse.orthanc-server.org/t/synchronous-jobs-limited-to-one-at-a-time/6365 * Upgraded dependencies for static builds: - boost 1.89.0 - dcmtk 3.7.0 diff -r 6cb454c42583 -r a9f425e69b33 OrthancFramework/Sources/Cache/SharedArchive.cpp --- a/OrthancFramework/Sources/Cache/SharedArchive.cpp Fri Jan 02 12:49:21 2026 +0100 +++ b/OrthancFramework/Sources/Cache/SharedArchive.cpp Thu Jan 08 17:50:46 2026 +0100 @@ -45,9 +45,10 @@ SharedArchive::Accessor::Accessor(SharedArchive& that, - const std::string& id) : - lock_(that.mutex_) + const std::string& id) { + boost::recursive_mutex::scoped_lock lock(that.mutex_); + Archive::iterator it = that.archive_.find(id); if (it == that.archive_.end())