You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For operations like downloading a theme or a language file, or latest Core code, we should have an automatic retry mechanism with a configurable threshold (defaulting to 3 as a good compromise).
This would not only make general scripting with WP-CLI more reliable but also drastically increase the reliability of our automated tests, which constantly fail due to random timeouts when doing downloads.
Activity
wp-cli#4894 http request retry option addon and code refactoring
Revert "wp-cli#4894 http request retry option addon and code refactor…
wp-cli#4894 http_request retry addon on curl timeout
ovidiul commentedon Jun 20, 2019
I would propose this refactoring of the http_request function ovidiul@698a408 , it refactors the ssl call and adds a retry option on curl timeout