diff Platforms/Generic/WebServiceGetCommand.cpp @ 123:ed0003f6102c wasm

dynamic loading of rt-struct renderers
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 07 Oct 2017 13:11:12 +0200
parents 2eca030792aa
children e2fe9352f240
line wrap: on
line diff
--- a/Platforms/Generic/WebServiceGetCommand.cpp	Fri Oct 06 17:25:08 2017 +0200
+++ b/Platforms/Generic/WebServiceGetCommand.cpp	Sat Oct 07 13:11:12 2017 +0200
@@ -40,6 +40,7 @@
   void WebServiceGetCommand::Execute()
   {
     Orthanc::HttpClient client(parameters_, uri_);
+    client.SetTimeout(60);
     client.SetMethod(Orthanc::HttpMethod_Get);
     success_ = client.Apply(answer_);
   }