evt-retry 0.1.2.1 → 0.1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/retry/retry.rb +1 -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: 1f111120936ea1b38ac3e1036dea59fe29903a12c3e32db732f17ddf075960e4
|
4
|
+
data.tar.gz: ba07908df2595ee6ed5406ffca7251a5a458fe9a9e4f3ad51f91e6fe44555f88
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27556814b70d3aca34cfb04750f67ad9eaa17747759511be5c3813a6df3983b058df0e5a7f0b992b603ad652875562735d10b6a11cb721f3a6a474969b13cd91
|
7
|
+
data.tar.gz: 9cdbab73c194bb8ae2187bd98a2c20e36308e97faa0558d9e8b3f35f33267fb2f402fa7d21b5f6e6ae2b8cfa64ccc4ddf67b12b88e79d0314e78694d25823796
|
data/lib/retry/retry.rb
CHANGED
@@ -50,7 +50,6 @@ class Retry
|
|
50
50
|
action_executed&.call(cycle)
|
51
51
|
|
52
52
|
if success
|
53
|
-
logger.debug { "Attempt succeed (Cycle: #{cycle})" }
|
54
53
|
break
|
55
54
|
end
|
56
55
|
|
@@ -71,7 +70,7 @@ class Retry
|
|
71
70
|
end
|
72
71
|
|
73
72
|
unless error.nil?
|
74
|
-
logger.
|
73
|
+
logger.info { "All attempts failed. Will not retry. Raising error: #{error.class.name}. (Cycle: #{cycle})" }
|
75
74
|
raise error
|
76
75
|
end
|
77
76
|
|