Mercurial > hg > orthanc-transfers
diff Framework/PushMode/PushJob.h @ 10:c9e28e31262e
new option: MaxHttpRetries
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 04 Mar 2019 15:26:49 +0100 |
parents | 7e207ade2f1a |
children | b06103a50c95 |
line wrap: on
line diff
--- a/Framework/PushMode/PushJob.h Mon Dec 24 13:45:31 2018 +0100 +++ b/Framework/PushMode/PushJob.h Mon Mar 04 15:26:49 2019 +0100 @@ -38,13 +38,15 @@ size_t targetBucketSize_; OrthancPeers peers_; size_t peerIndex_; - + unsigned int maxHttpRetries_; + virtual StateUpdate* CreateInitialState(JobInfo& info); public: PushJob(const TransferQuery& query, OrthancInstancesCache& cache, size_t threadsCount, - size_t targetBucketSize); + size_t targetBucketSize, + unsigned int maxHttpRetries); }; }