./www/ruby-faraday-retry, Catches exceptions and retries each request a limited times

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.2.1, Package name: ruby32-faraday-retry-2.2.1, Maintainer: pkgsrc-users

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).


Master sites:

Filesize: 11 KB

Version history: (Expand)


CVS history: (Expand)


   2024-05-12 18:30:03 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
www/ruby-faraday-retry: update to 2.2.1

2.2.1 (2024-04-15)

What's Changed

* Document "methods" option with its type as a list of Symbols by
  @olleolleolle in #30
* Update docs reference to RaiseError middleware by @Drowze in #32
* Add Ruby 3.3 to CI matrix by @m-nakamura145 in #33
* Improve README.md about exceptions config by @mi-wada in #35
* Check for Faraday::UploadIO while rewinding by @iMacTia in #37
* Bump actions/checkout from 3 to 4 by @dependabot in #38

New Contributors

* @Drowze made their first contribution in #32
* @m-nakamura145 made their first contribution in #33
* @mi-wada made their first contribution in #35
* @dependabot made their first contribution in #38
   2023-06-09 17:29:10 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
www/ruby-faraday-retry: update to 2.2.0

2.2.0 (2023-06-01)

What's Changed

* Implement header_parser_block option by @zavan in #28

New Contributors

* @zavan made their first contribution in #28
   2023-03-05 15:29:26 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
www/ruby-faraday-retry: update to 2.1.0

2.1.0 (2023-03-03)

What's Changed

* Add support for custom RateLimit headers. by @brookemckim in #13
* Fixes retry_block example in README. by @justinlittman in #12
* README: update link to the RateLimit RFC by @olleolleolle in #14
* docs: update link to RFC by @olleolleolle in #15
* Rubocop linting by @olleolleolle in #16
* style: disable Metrics/ClassLength by @olleolleolle in #17
* Adds Ruby 3.2 to the CI matrix by @petergoldstein in #18
* Typo fix :) by @adifsgaid in #19
* Introduce issue templates by @iMacTia in #22

New Contributors

* @justinlittman made their first contribution in #12
* @brookemckim made their first contribution in #13
* @petergoldstein made their first contribution in #18
* @adifsgaid made their first contribution in #19
   2023-01-09 13:57:32 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
www/ruby-faraday-retry: update to 2.0.0

2.0.0 (2022-06-15)

What's Changed

* Retry block change by @jrochkind in #3
* Add support for the RateLimit-Reset header by @maxprokopiev in #9
* CI: Use new GitHub Action checkout@v3, and drop unused files by
  @olleolleolle in #10
   2023-01-07 16:25:34 by Takahiro Kambe | Files touched by this commit (4)
Log message:
www/ruby-faraday-retry: add package version 1.0.3

Required by newer ruby-faraday package.

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).