Categories: None [Edit]

attempt

https://rubygems.org/gems/attempt
https://github.com/djberg96/attempt
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.

Total

Ranking: 9,906 of 184,953
Downloads: 265,730

Daily

Ranking: 15,999 of 184,934
Downloads: 27

Depended by

RankDownloadsName
66,04214,152wordref

Depends on

RankDownloadsName
101,032,176,550rake
26859,107,496rspec
61527,176,913rubocop
3,2223,658,765structured_warnings
9,124315,709safe_timeout

Owners

#GravatarHandle
1icondjberg96
2iconnormalperson