mwilliams-right_http_connection 1.2.103 → 1.2.104
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/lib/right_http_connection.rb +12 -12
- metadata +2 -2
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.2.
|
|
1
|
+
1.2.104
|
|
@@ -338,18 +338,18 @@ them.
|
|
|
338
338
|
|
|
339
339
|
# if we are inside a delay between retries: no requests this time!
|
|
340
340
|
# (skip this step if the endpoint has changed)
|
|
341
|
-
if error_count > @params[:http_connection_retry_count] &&
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
end
|
|
341
|
+
# if error_count > @params[:http_connection_retry_count] &&
|
|
342
|
+
# error_time + @params[:http_connection_retry_delay] > Time.now &&
|
|
343
|
+
# same_server_as_before
|
|
344
|
+
#
|
|
345
|
+
# # store the message (otherwise it will be lost after error_reset and
|
|
346
|
+
# # we will raise an exception with an empty text)
|
|
347
|
+
# banana_message_text = banana_message
|
|
348
|
+
# @logger.warn("#{err_header} re-raising same error: #{banana_message_text} " +
|
|
349
|
+
# "-- error count: #{error_count}, error age: #{Time.now.to_i - error_time.to_i}")
|
|
350
|
+
# exception = get_param(:exception) || RuntimeError
|
|
351
|
+
# raise exception.new(banana_message_text)
|
|
352
|
+
# end
|
|
353
353
|
|
|
354
354
|
# try to connect server(if connection does not exist) and get response data
|
|
355
355
|
begin
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mwilliams-right_http_connection
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.104
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- RightScale
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2009-07-
|
|
12
|
+
date: 2009-07-16 00:00:00 -07:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies: []
|
|
15
15
|
|