comparison 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
comparison
equal deleted inserted replaced
9:7e207ade2f1a 10:c9e28e31262e
36 TransferQuery query_; 36 TransferQuery query_;
37 size_t threadsCount_; 37 size_t threadsCount_;
38 size_t targetBucketSize_; 38 size_t targetBucketSize_;
39 OrthancPeers peers_; 39 OrthancPeers peers_;
40 size_t peerIndex_; 40 size_t peerIndex_;
41 41 unsigned int maxHttpRetries_;
42
42 virtual StateUpdate* CreateInitialState(JobInfo& info); 43 virtual StateUpdate* CreateInitialState(JobInfo& info);
43 44
44 public: 45 public:
45 PushJob(const TransferQuery& query, 46 PushJob(const TransferQuery& query,
46 OrthancInstancesCache& cache, 47 OrthancInstancesCache& cache,
47 size_t threadsCount, 48 size_t threadsCount,
48 size_t targetBucketSize); 49 size_t targetBucketSize,
50 unsigned int maxHttpRetries);
49 }; 51 };
50 } 52 }