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
If the underlying download client is curl, why not add flags that allow curl to retry the download if there are issues ? like
wp core download --retry 5
to retry download 5 times
wp core download --retry 5 --retry-delay 10
to retry download 5 times but wait 10 seconds between retries
equivalent curl commands you can replicate in wp cli
curl --help | grep try
--happy-eyeballs-timeout-ms <milliseconds> How long to wait in milliseconds for IPv6 before trying IPv4
--retry <num> Retry request if transient problems occur
--retry-connrefused Retry on connection refused (use with --retry)
--retry-delay <seconds> Wait time between retries
--retry-max-time <seconds> Retry only within this period
The text was updated successfully, but these errors were encountered:
Feature Request
Describe your use case and the problem you are facing
If downloads.wordpress site has connectivity issues,
wp core download
will timeoutDescribe the solution you'd like
If the underlying download client is curl, why not add flags that allow curl to retry the download if there are issues ? like
to retry download 5 times
to retry download 5 times but wait 10 seconds between retries
equivalent curl commands you can replicate in wp cli
The text was updated successfully, but these errors were encountered: