retry
Here are 264 public repositories matching this topic...
-
Updated
Jun 8, 2020 - Go
-
Updated
Jul 25, 2019 - JavaScript
The documentation doesn't have any info on what is in the statistics dictionary.
I'm not sure if I'm doing something wrong or your aiohttp example is wrong! Seems backoff decorator doesn't catch aiohttp exceptions automatically and you need to raise the error manually:
@backoff.on_exception(backoff.expo,
aiohttp.ClientError,
max_tries=4)
async def get_url(url):
async with aiohttp.ClientSession() as session:u := "http://httpbin.org/post"
// Using net/http
v := make(url.Values) // url.Values has methods for value manipulating
v.Set("k1", "v1")
http.PostForm(u, v)
// or
http.PostForm(u, url.Values{"k1": []string{"v1"}})
// Using gentleman
r := gentleman.NewRequest()
// multipart.DataFields is actually same as url.Values, but without methods
d := make(multipart.DataFields)
d["k1"] = mu-
Updated
Mar 14, 2020 - TypeScript
-
Updated
Mar 9, 2020 - Java
-
Updated
Jul 18, 2016 - Go
-
Updated
Apr 11, 2020 - Elixir
in release notes and the doc
-
Updated
May 23, 2020 - Objective-C
-
Updated
May 8, 2020 - Python
-
Updated
Sep 9, 2018 - JavaScript
-
Updated
Jun 14, 2019 - Go
refactor README
-
Updated
Nov 25, 2018 - Java
-
Updated
Jan 22, 2020 - Go
-
Updated
Feb 12, 2020 - Kotlin
-
Updated
Mar 7, 2020 - Clojure
-
Updated
Sep 7, 2018 - Python
From the docs
The factor option is used to grow the delay exponentially. For example, a value of 2 will cause the delay to double each time. A value of 3 will cause the delay to triple each time. Fractional factors (e.g. 1.5) are also allowed.
The following formula is used to calculate delay using the factor:
delay = delay * Math.pow(factor, attemptNum)
(default: 0)
Th
Improve this page
Add a description, image, and links to the retry topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the retry topic, visit your repo's landing page and select "manage topics."
Hi,
I´d like to know if and how I can define an intervalFunction for retry inside my application.yml file of my Spring Boot 2 project.
See intervalFunction here: https://resilience4j.readme.io/docs/retry
Thanks a lot for your answers.