www/ruby-faraday-retry 2.4.0 NetBSD
Catches exceptions and retries each request a limited times
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- License
- mit
- Categories
- www, ruby
- Package size
- 22.8 KiB, 54.6 KiB installed
Description
Faraday Retry
The Retry middleware automatically retries requests that fail due to intermittent client or server errors (such as network hiccups).
By default, it retries 2 times and handles only timeout exceptions.
It can be configured with an arbitrary number of retries, a list of exceptions to handle, a retry interval, a percentage of randomness to add to the retry interval, and a backoff factor.
The middleware can also handle the Retry-After header automatically when configured with the right status codes (see below for an example).
Install
Binary package:
pkgin install ruby33-faraday-retry
From pkgsrc:
cd /usr/pkgsrc/www/ruby-faraday-retry && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 2.4.0 |
| NetBSD 10.1 aarch64 | 2.4.0 |
| SmartOS / illumos x86_64 | 2.4.0 |
| macOS 15 arm64 | 2.4.0 |
Dependencies
Run dependencies 2
Required by 1
Configuration
No options to configure.
- Service scripts
- none
- Flavors
ruby34-faraday-retry-2.4.0,ruby40-faraday-retry-2.4.0