The attempt library provides a thin wrapper for the typical begin/rescue/sleep/retry dance. Use this in order to robustly handle blocks of code that could briefly flake out, such as an http or database connection, where it's often better to try again after a brief period rather than fail immediately.
Required Ruby Version
>= 0
Authors
Daniel J. Berger
Versions
-
0.8.0
-
source
- 0.8.0 source July 15, 2025 (29.5 KB)
-
-
0.7.0
-
source
- 0.7.0 source July 14, 2025 (26 KB)
-
-
0.6.3
-
source
- 0.6.3 source June 26, 2024 (19 KB)
-
-
0.6.2
-
source
- 0.6.2 source June 02, 2022 (18.5 KB)
-
-
0.6.1
-
source
- 0.6.1 source October 20, 2020 (18.5 KB)
-