Mercurial > hg > orthanc
comparison OrthancServer/Sources/OrthancRestApi/OrthancRestArchive.cpp @ 5116:c9c052ba309c
undo wrong commit
author | Alain Mazy <am@osimis.io> |
---|---|
date | Fri, 02 Dec 2022 15:08:35 +0100 |
parents | c387ebeb67b5 |
children | 8b74aa4f3515 |
comparison
equal
deleted
inserted
replaced
5115:0a9d36187a91 | 5116:c9c052ba309c |
---|---|
443 } | 443 } |
444 | 444 |
445 if (streaming) | 445 if (streaming) |
446 { | 446 { |
447 LOG(INFO) << "Streaming a ZIP archive"; | 447 LOG(INFO) << "Streaming a ZIP archive"; |
448 boost::shared_ptr<SharedMessageQueue> queue(new SharedMessageQueue(1)); | 448 boost::shared_ptr<SharedMessageQueue> queue(new SharedMessageQueue); |
449 | 449 |
450 job->AcquireSynchronousTarget(new SynchronousZipStream(queue)); | 450 job->AcquireSynchronousTarget(new SynchronousZipStream(queue)); |
451 | 451 |
452 std::string jobId; | 452 std::string jobId; |
453 context.GetJobsEngine().GetRegistry().Submit(jobId, job.release(), priority); | 453 context.GetJobsEngine().GetRegistry().Submit(jobId, job.release(), priority); |