changeset 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 84cd55245e2d
children df6c52402484
files Framework/Oracle/GetOrthancImageCommand.cpp Framework/Oracle/GetOrthancWebViewerJpegCommand.cpp Framework/Oracle/OrthancRestApiCommand.cpp
diffstat 3 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/Framework/Oracle/GetOrthancImageCommand.cpp	Fri Jun 14 12:16:38 2019 +0200
+++ b/Framework/Oracle/GetOrthancImageCommand.cpp	Sat Jun 15 20:37:12 2019 +0200
@@ -45,7 +45,7 @@
 
   GetOrthancImageCommand::GetOrthancImageCommand() :
     uri_("/"),
-    timeout_(10),
+    timeout_(60),
     hasExpectedFormat_(false)
   {
   }
--- a/Framework/Oracle/GetOrthancWebViewerJpegCommand.cpp	Fri Jun 14 12:16:38 2019 +0200
+++ b/Framework/Oracle/GetOrthancWebViewerJpegCommand.cpp	Sat Jun 15 20:37:12 2019 +0200
@@ -49,7 +49,7 @@
   GetOrthancWebViewerJpegCommand::GetOrthancWebViewerJpegCommand() :
     frame_(0),
     quality_(95),
-    timeout_(10),
+    timeout_(60),
     expectedFormat_(Orthanc::PixelFormat_Grayscale8)
   {
   }
--- a/Framework/Oracle/OrthancRestApiCommand.cpp	Fri Jun 14 12:16:38 2019 +0200
+++ b/Framework/Oracle/OrthancRestApiCommand.cpp	Sat Jun 15 20:37:12 2019 +0200
@@ -51,7 +51,7 @@
   OrthancRestApiCommand::OrthancRestApiCommand() :
     method_(Orthanc::HttpMethod_Get),
     uri_("/"),
-    timeout_(10)
+    timeout_(60)
   {
   }