ficonabses 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/ficonabses/base.rb +1 -0
- metadata +2 -2
data/lib/ficonabses/base.rb
CHANGED
@@ -76,6 +76,7 @@ module FiconabSES
|
|
76
76
|
res=self.clnt.get_content(self.uri,self.extheader)
|
77
77
|
end
|
78
78
|
rescue HTTPClient::BadResponseError
|
79
|
+
sleep(5) # take a break to see if it is too busy
|
79
80
|
Timeout::timeout(15) do
|
80
81
|
puts "BAD RESPONSE - retrying once #{self.uri}"
|
81
82
|
res=self.clnt.get_content(self.uri,self.extheader)
|