From f45471eb94b241836c12ae11f07223f5689f09c4 Mon Sep 17 00:00:00 2001 From: Rafael Cardenas Date: Wed, 15 May 2024 08:35:08 -0600 Subject: [PATCH] fix: adjust insert batch size --- src/pg/pg-store.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pg/pg-store.ts b/src/pg/pg-store.ts index 2f4d037a..139a42b3 100644 --- a/src/pg/pg-store.ts +++ b/src/pg/pg-store.ts @@ -35,7 +35,7 @@ import { BlockCache } from './block-cache'; export const MIGRATIONS_DIR = path.join(__dirname, '../../migrations'); const ORDINALS_GENESIS_BLOCK = 767430; -export const INSERT_BATCH_SIZE = 4000; +export const INSERT_BATCH_SIZE = 3500; type InscriptionIdentifier = { genesis_id: string } | { number: number };