Skip to content

Commit 416695d

Browse files
committed
More smaller chunks
1 parent cc3794e commit 416695d

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

issue-bot/src/Console/DownloadCommand.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,6 @@ protected function execute(InputInterface $input, OutputInterface $output): int
9090

9191
$this->savePlaygroundCache(new PlaygroundCache($cachedResults));
9292

93-
$chunkSize = (int) ceil(count($hashes) / 20);
94-
if ($chunkSize < 1) {
95-
throw new Exception('Chunk size less than 1');
96-
}
97-
9893
$matrix = [];
9994
foreach ([70300, 70400, 80000, 80100, 80200, 80300, 80400, 80500] as $phpVersion) {
10095
$phpVersionHashes = [];
@@ -128,7 +123,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
128123
if (count($phpVersionHashes) === 0) {
129124
continue;
130125
}
131-
$chunkSize = (int) ceil(count($phpVersionHashes) / 18);
126+
$chunkSize = (int) ceil(count($phpVersionHashes) / 25);
132127
if ($chunkSize < 1) {
133128
throw new Exception('Chunk size less than 1');
134129
}

0 commit comments

Comments
 (0)