Skip to content

Commit

Permalink
Smaller chunks
Browse files Browse the repository at this point in the history
  • Loading branch information
aarondfrancis committed Jul 21, 2022
1 parent 5accae1 commit 23a4d72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BlockManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public function render(Jigsaw $jigsaw)
// Jigsaw sites can be huge, so we'll split the entirety
// of the blocks into chunks of 50 since time is not
// an issue when building locally.
$chunks = array_chunk(BladeManager::getBlocks(), 50);
$chunks = array_chunk(BladeManager::getBlocks(), 20);

foreach ($chunks as $chunk) {
Torchlight::highlight($chunk);
Expand Down

1 comment on commit 23a4d72

@mrsimonbennett
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💪 @aarondfrancis Thank you

Please sign in to comment.