mingle_events 0.1.9 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mingle_events/http.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 55b4b6193e950f37183bc12d5bee6093877b88ac
|
4
|
+
data.tar.gz: d15c856be0b1b009a95113427b33c204148941ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 66045fe8f4ae9b6c7b99496172b2980acfe9be07a8fec314a31189ccddcfaa3164e2e4edfca9f17f4953dccc671a45d30fc0f6f7433eb505f84f70d15e104f3a
|
7
|
+
data.tar.gz: a8730e1706e0f7d1573d9a0774122a462c034cea4f6a579f7c5380f9f07c40500b646dc3052745a0a77852fd67db50153709cb85420a592bed8ccbe28cfed5a8
|
data/lib/mingle_events/http.rb
CHANGED
@@ -15,7 +15,7 @@ module MingleEvents
|
|
15
15
|
If you think you are passing correct credentials, please check
|
16
16
|
that you have enabled Mingle for basic authentication.
|
17
17
|
See <http://www.thoughtworks-studios.com/mingle/3.3/help/configuring_mingle_authentication.html>.})
|
18
|
-
when Net::HTTPBadGateway, Net::HTTPServiceUnavailable, Net::HTTPGatewayTimeOut
|
18
|
+
when Net::HTTPBadGateway, Net::HTTPServiceUnavailable, Net::HTTPGatewayTimeOut, EOFError
|
19
19
|
raise HttpError.new(rsp, url) if retry_count >= MAX_RETRY_TIMES
|
20
20
|
cooldown = retry_count * 2
|
21
21
|
MingleEvents.log.info "Getting service error when get page at #{url}, retry after #{cooldown}s..."
|