BSD Ports

www/ruby-faraday-retry1 1.0.3 NetBSD

Catches exceptions and retries each request a limited times

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
mit
Categories
www, ruby
Package size
18.3 KiB, 41.4 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).

This is version 1.x package.

Install

Binary package:

pkgin install ruby33-faraday-retry1

From pkgsrc:

cd /usr/pkgsrc/www/ruby-faraday-retry1 && 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.

RepositoryVersion
NetBSD 10.1 x86_641.0.3
NetBSD 10.1 aarch641.0.3
SmartOS / illumos x86_641.0.3
macOS 15 arm641.0.3

Dependencies

Run dependencies 1
Required by 1

Configuration

No options to configure.

Service scripts
none
Flavors
ruby34-faraday-retry1-1.0.3