diff --git a/core/CronArchive.php b/core/CronArchive.php index e12fcc85f665bf1a87d2c09dc6ad63efd2d8a1e5..7ca9389f85c734837d6354cc1b6700c2150cddfa 100644 --- a/core/CronArchive.php +++ b/core/CronArchive.php @@ -1320,6 +1320,10 @@ class CronArchive */ private function getConcurrentRequestsPerWebsite() { - return $this->getParameterFromCli('--concurrent-requests-per-website', true); + $cliParam = $this->getParameterFromCli('--concurrent-requests-per-website', true); + if ($cliParam !== false) { + return $cliParam; + } + return self::MAX_CONCURRENT_API_REQUESTS; } }