summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgebele <gebele@in-silico.ch>2014-05-30 14:58:02 +0100
committergebele <gebele@in-silico.ch>2014-05-30 14:58:02 +0100
commit6bcfe8099906ad6a2041ac258cb81c232c6f4159 (patch)
treebd2596654c043e56e0f6011950193764f22dca8d
parent77f61a98a61719ceaf9507723a3fe84a7e0dc925 (diff)
increased timeout for RestClientWrapper
-rw-r--r--lib/rest-client-wrapper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rest-client-wrapper.rb b/lib/rest-client-wrapper.rb
index 94ff029..732f46e 100644
--- a/lib/rest-client-wrapper.rb
+++ b/lib/rest-client-wrapper.rb
@@ -42,7 +42,7 @@ module OpenTox
args={}
args[:method] = method
args[:url] = uri
- args[:timeout] = 600
+ args[:timeout] = 1800
args[:payload] = payload
headers.each{ |k,v| headers.delete(k) if v==nil } if headers #remove keys with empty values, as this can cause problems
args[:headers] = headers