From f64a35b1c34f761d6988a9eefadc80a61d76b63f Mon Sep 17 00:00:00 2001 From: Vladimir Grichina Date: Fri, 16 Feb 2024 21:20:50 -0800 Subject: [PATCH] Use 100k blocks per batch --- scripts/build-raw-near-lake-index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build-raw-near-lake-index.js b/scripts/build-raw-near-lake-index.js index 429dece..d9c5c2f 100644 --- a/scripts/build-raw-near-lake-index.js +++ b/scripts/build-raw-near-lake-index.js @@ -5,7 +5,7 @@ const sha256 = require('../utils/sha256'); const { writeChangesFile, readChangesFile, changeKey, mergeChangesFiles } = require('../storage/lake/changes-index'); const { readBlocks } = require('../storage/lake/archive'); -const BLOCKS_PER_BATCH = 10000; +const BLOCKS_PER_BATCH = 100000; const MIN_CHANGES_PER_FILE = 1000;