Closed moldach closed 1 year ago
Is retry()
currently not supported by AsyncQueue()
?
If so, could this please 🙏 be added?
Yeah, sorry HttpRequest
doesn't have a retry method yet. So I think it just needs to be supported there, and then you can use it in AsyncQueue
HttpRequest
asked curl maintainer about this, we'll see
@moldach finally this is done. install from github and try again. there's a brief example in the AsyncQueue
docs https://docs.ropensci.org/crul/reference/AsyncQueue.html#ref-examples
Could you please add an example to the documentation for
retry()
that describes how one can retry requests forAsyncQueue()
.If I ran this code again I see there are different 500 statuses being returned which means that some of these API calls need to be retried.
The following doesn't work for the
resp
orout
objects:(res_get <- x$retry("GET", path = "status/400"))
.How can
retry()
be run onAsyncQueue()
results?