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

@@ -134,7 +134,7 @@ class DownloadCommand extends BaseCommand
// retry
$retry = intval($this->getOption('retry'));
f_putenv('SPC_RETRY_TIME=' . $retry);
f_putenv('SPC_DOWNLOAD_RETRIES=' . $retry);
// Use shallow-clone can reduce git resource download
if ($this->getOption('shallow-clone')) {