[ trixie ]
[ sid ]
[ 原始碼: ruby-faraday-retry ]
套件:ruby-faraday-retry(2.2.0-2)
ruby-faraday-retry 的相關連結
Debian 的資源:
下載原始碼套件 ruby-faraday-retry:
- [ruby-faraday-retry_2.2.0-2.dsc]
- [ruby-faraday-retry_2.2.0.orig.tar.gz]
- [ruby-faraday-retry_2.2.0-2.debian.tar.xz]
維護小組:
外部的資源:
- 主頁 [github.com]
相似套件:
Catches exceptions and retries each request a limited number of times
The Retry middleware for faraday 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 docs for an example).