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
Activity
danielbachhuber commentedon Sep 8, 2023
I don't know that I'd implement all of curl's options, but a
--retry=5or similar flag seems reasonable.abhi3315 commentedon Apr 26, 2024
I am taking this issue.