Closed sarahBuisson closed 4 years ago
I'm not sure it belongs here. It might, but the retry logic could be very application dependant. (exponential backoff, retry from a different repository, ...)
A basic retry could be done by wrapping the calls with https://github.com/sindresorhus/p-retry
An optional timeout parameter is a good idea though.
at least the optional timeout would help me a lot. It's not something that I can do in the using code
node-fetch has a timeout parameter, we need to add it to these lines:
I'll add it tonight :)
Released in version 5
hello, I use mvn-artifact-download in one of my lib
the maven registry that I use is a pain, with often error ( but is free). Is there anyway to configure a custom timeout value , or to automate a retry?