RubyGems Navigation menu

attempt 0.5.0

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 a socket or database connection, where it's often better to try again after a brief period rather than fail immediately.

Gemfile:
= Copy to clipboard Copied!

instalar:
=

Versões:

  1. 0.6.2 - June 02, 2022 (18,5 KB)
  2. 0.6.1 - October 20, 2020 (18,5 KB)
  3. 0.6.0 - September 17, 2020 (18,5 KB)
  4. 0.5.1 - August 28, 2020 (18,5 KB)
  5. 0.5.0 - June 03, 2020 (18,5 KB)
Mostrar todas as versões (14)

Runtime Dependencies (2):

safe_timeout ~> 0.0.5

Development Dependencies (1):

test-unit >= 0

Donos:

Pushed by:

Autores:

  • Daniel J. Berger

SHA 256 checksum:

f458f68468f42e28c257cc830d4bdc60ff8a2c880d1641c3671a8f30a381bc44

Total de downloads 221.158

Desta versão 2.179

Licença:

Apache-2.0

Versão Requerida do Ruby: >= 0

Links: