mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-12 03:00:28 +00:00
www/rubygem-faraday-retry: Add rubygem-faraday-retry 1.0.3
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. WWW: https://github.com/lostisland/faraday-retry
This commit is contained in:
parent
c9f2d794ea
commit
05e25916bf
@ -1906,6 +1906,7 @@
|
||||
SUBDIR += rubygem-faraday-net_http_persistent
|
||||
SUBDIR += rubygem-faraday-patron
|
||||
SUBDIR += rubygem-faraday-rack
|
||||
SUBDIR += rubygem-faraday-retry
|
||||
SUBDIR += rubygem-faraday0
|
||||
SUBDIR += rubygem-faraday14
|
||||
SUBDIR += rubygem-faraday_middleware
|
||||
|
19
www/rubygem-faraday-retry/Makefile
Normal file
19
www/rubygem-faraday-retry/Makefile
Normal file
@ -0,0 +1,19 @@
|
||||
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
||||
|
||||
PORTNAME= faraday-retry
|
||||
PORTVERSION= 1.0.3
|
||||
CATEGORIES= www rubygems
|
||||
MASTER_SITES= RG
|
||||
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= Catch exceptions and retries each request a limited number of times
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE.md
|
||||
|
||||
USES= gem
|
||||
USE_RUBY= yes
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/rubygem-faraday-retry/distinfo
Normal file
3
www/rubygem-faraday-retry/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1642102123
|
||||
SHA256 (rubygem/faraday-retry-1.0.3.gem) = add154f4f399243cbe070806ed41b96906942e7f5259bb1fe6daf2ec8f497194
|
||||
SIZE (rubygem/faraday-retry-1.0.3.gem) = 10240
|
9
www/rubygem-faraday-retry/pkg-descr
Normal file
9
www/rubygem-faraday-retry/pkg-descr
Normal file
@ -0,0 +1,9 @@
|
||||
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.
|
||||
|
||||
WWW: https://github.com/lostisland/faraday-retry
|
Loading…
Reference in New Issue
Block a user