Closed kalangeyash closed 6 months ago
@kalangeyash thank you for looking to improve our content here. Rather than changing the hardcoded value of both $RetryCount and $TimeoutInSecs in the internal function, why don't we make it a parameter to the top level script? That way folks can run it with a default set of values, or you can override them at runtime with shorter intervals. Would you be willing to update this PowerShell script to do that?
closing this request to leave the current default values as is in the sample PowerShell script.
Updated the script to give command line options to change the retry count and timeout defaults at runtime now.
I was failing some downloads and it was taking 3 set of 30sec interval for starting new download, I think it should be a great idea for giving it only one chance of 3 seconds and move forward.