rename SPC_RETRY_TIME to SPC_DOWNLOAD_RETRIES to clear up what it's doing

sleep 5 seconds between retries
This commit is contained in:
DubbleClick
2025-04-22 12:23:47 +07:00
parent a7adec1341
commit 0b3421e3cd
4 changed files with 19 additions and 18 deletions

View File

@@ -58,7 +58,7 @@ class SwitchPhpVersionCommand extends BaseCommand
// retry
$retry = intval($this->getOption('retry'));
f_putenv('SPC_RETRY_TIME=' . $retry);
f_putenv('SPC_DOWNLOAD_RETRIES=' . $retry);
Downloader::downloadSource('php-src', Config::getSource('php-src'));