Skip to content

Commit

Permalink
increase chunk size further
Browse files Browse the repository at this point in the history
  • Loading branch information
theosanderson committed Oct 8, 2024
1 parent 7262539 commit e24a7eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions taxonium_backend/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,8 @@ app.get("/mutations/", function (req, res) {
res.write(`data: ${data}\n\n`);
}

// Send mutations in chunks of 1000
const chunkSize = 10000;
// Send mutations in chunks of 100000
const chunkSize = 100000;
let index = 0;

function sendNextChunk() {
Expand Down

0 comments on commit e24a7eb

Please sign in to comment.