Skip to content

Commit

Permalink
fix: increase batch size for processing posts / pages
Browse files Browse the repository at this point in the history
  • Loading branch information
scissorsneedfoodtoo committed Dec 15, 2024
1 parent c0bc3e5 commit 6fa09e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/_data/datasource.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const piscinaHashnode = new Piscina({
module.exports = async () => {
// Chunk raw Ghost posts and pages and process them in batches
// with a pool of workers to create posts and pages global data
const batchSize = 200;
const batchSize = 300;
const allGhostPosts = await fetchFromGhost('posts');
const allHashnodePosts = await fetchFromHashnode('posts');
const allGhostPages = await fetchFromGhost('pages');
Expand Down

0 comments on commit 6fa09e7

Please sign in to comment.