Skip to content

Commit

Permalink
test: double batch size
Browse files Browse the repository at this point in the history
  • Loading branch information
scissorsneedfoodtoo committed Dec 15, 2024
1 parent 541f7c9 commit bc50167
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 @@ -21,7 +21,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 = 400;
const allGhostPosts = await fetchFromGhost('posts');
const allHashnodePosts = await fetchFromHashnode('posts');
const allGhostPages = await fetchFromGhost('pages');
Expand Down

0 comments on commit bc50167

Please sign in to comment.