4 ms·
Not really, since it's calling `curl` in a loop, and they want the loop to timeout. There's possibly a set of options to curl to make it retry for a certain am
by aidenn0 1y ago
Not really, since it's calling `curl` in a loop, and they want the loop to timeout. There's possibly a set of options to curl to make it retry for a certain amount of time but I don't know it off the top of my head.
- pvtmert 1y agoi think curl already have extensive options to handle such cases. there are multiple docs with nice explanations too, for example: https://everything.curl.dev/usingcurl/downloads/retry.html https://everything.curl.dev/usingcurl/downloads/retry.html i guess the premise is applicable to other processes which do not implement timeouts (eg: find) themselves