Mercurial > hg > orthanc-stone
comparison Framework/Oracle/OrthancRestApiCommand.cpp @ 846:17423d072a95
Changed http timeouts in new-style Oracle commands to 60 secs (10 secs was too short for big requests)
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Sat, 15 Jun 2019 20:37:12 +0200 |
parents | d716bfb3e07c |
children | a7351ad54960 |
comparison
equal
deleted
inserted
replaced
844:84cd55245e2d | 846:17423d072a95 |
---|---|
49 | 49 |
50 | 50 |
51 OrthancRestApiCommand::OrthancRestApiCommand() : | 51 OrthancRestApiCommand::OrthancRestApiCommand() : |
52 method_(Orthanc::HttpMethod_Get), | 52 method_(Orthanc::HttpMethod_Get), |
53 uri_("/"), | 53 uri_("/"), |
54 timeout_(10) | 54 timeout_(60) |
55 { | 55 { |
56 } | 56 } |
57 | 57 |
58 | 58 |
59 void OrthancRestApiCommand::SetBody(const Json::Value& json) | 59 void OrthancRestApiCommand::SetBody(const Json::Value& json) |