network_resiliency 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/Gemfile.lock +1 -1
- data/lib/network_resiliency/adapter/http.rb +1 -1
- data/lib/network_resiliency/adapter/mysql.rb +1 -1
- data/lib/network_resiliency/adapter/redis.rb +1 -1
- data/lib/network_resiliency/version.rb +1 -1
- data/lib/network_resiliency.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6bf447ec73846d8911df202dc4a2ba576879a2768cd2a2e817ae9119a0e40506
|
4
|
+
data.tar.gz: d38481d92461272cbcefd34ea81f2c82d38381e135a06daed527210cdce6a178
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 73b6e3fa940f4f8b91e26cc039b2bdfb37f7879a2a4c60ac1cc29e0572e79fd427c4984dfd8a139695e1225a370e295330833d81e250c6b3f922f467fb5f0b00
|
7
|
+
data.tar.gz: 00a8fe95736393d1e9133ca4d2d0c9873d859a93c53ef487503ad00762eadcaba18bad6c99138910a9bbf4916cc7eae5a464d8324657321b68eaaca076a5a10f
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/lib/network_resiliency.rb
CHANGED
@@ -135,7 +135,7 @@ module NetworkResiliency
|
|
135
135
|
adapter: adapter,
|
136
136
|
destination: destination,
|
137
137
|
},
|
138
|
-
)
|
138
|
+
) if timeout && timeout > 0
|
139
139
|
|
140
140
|
if error
|
141
141
|
NetworkResiliency.statsd&.distribution(
|
@@ -145,7 +145,7 @@ module NetworkResiliency
|
|
145
145
|
adapter: adapter,
|
146
146
|
destination: destination,
|
147
147
|
},
|
148
|
-
) if timeout
|
148
|
+
) if timeout && timeout > 0
|
149
149
|
else
|
150
150
|
# track successful retries
|
151
151
|
NetworkResiliency.statsd&.increment(
|