Mercurial > hg > orthanc
diff OrthancServer/Sources/OrthancRestApi/OrthancRestArchive.cpp @ 5114:c387ebeb67b5
todo: move progress repot
author | Alain Mazy <am@osimis.io> |
---|---|
date | Fri, 02 Dec 2022 15:05:00 +0100 |
parents | 48b53ac404d9 |
children | c9c052ba309c |
line wrap: on
line diff
--- a/OrthancServer/Sources/OrthancRestApi/OrthancRestArchive.cpp Wed Nov 23 11:47:44 2022 +0100 +++ b/OrthancServer/Sources/OrthancRestApi/OrthancRestArchive.cpp Fri Dec 02 15:05:00 2022 +0100 @@ -445,7 +445,7 @@ if (streaming) { LOG(INFO) << "Streaming a ZIP archive"; - boost::shared_ptr<SharedMessageQueue> queue(new SharedMessageQueue); + boost::shared_ptr<SharedMessageQueue> queue(new SharedMessageQueue(1)); job->AcquireSynchronousTarget(new SynchronousZipStream(queue));