www/rubygem-faraday-retry 2.4.0 MidnightBSD
Catch exceptions and retries each request a limited number of times
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- mit
- Categories
- www, rubygems
Description
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.
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | www/rubygem-faraday-retry | 2.4.0 |
| FreeBSD | www/rubygem-faraday-retry | 2.4.0 |
| DragonFly | www/rubygem-faraday-retry | 2.2.1 |
| HardenedBSD | www/rubygem-faraday-retry | 2.4.0 |
| GhostBSD | www/rubygem-faraday-retry | 2.4.0 |
Install
Binary package:
mport install faraday-retry
From mports:
cd /usr/mports/www/rubygem-faraday-retry && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= faraday-retry>0:www/rubygem-faraday-retry
Dependencies
As this port's Makefile names them.
Build 1
rubygem-faraday>=2.0<3: www/rubygem-faraday
Runtime 1
rubygem-faraday>=2.0<3: www/rubygem-faraday
Build dependencies 1
Run dependencies 1
Required by 1
Configuration
No options to configure.
- USES
- gem
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| rubygem/faraday-retry-2.4.0.gem | 11776 | 7b79c48fb7e56526faf247b12d94a680071ff40c9fda7cf1ec1549439ad11ebe |
Master sites 1
- RG