RubyGems Navigation menu

attempt 0.5.1

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.

Gemfile:
= Copiar al portapapeles ¡Copiado!

instalar:
=

Versiones:

  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 las versiones (14 total)

dependencias de Runtime (2):

safe_timeout ~> 0.0.5

dependencias de Development (1):

test-unit >= 0

Propietarios:

Subida por:

Autores:

  • Daniel J. Berger

SHA 256 checksum:

74a96f5482bd6b592afff68c9912b6e055abce3a465280bb600d4a7ecb88c5df

Total de descargas 222.227

Para esta versión 37.689

Licencia:

Apache-2.0

Versión de Ruby requerida: >= 0

Enlace: