Skip to content

Commit

Permalink
fix: reduce brc-20 batch to 5k
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelcr committed Nov 12, 2023
1 parent e7e17ed commit 2037647
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pg/brc20/brc20-pg-store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export class Brc20PgStore extends BasePgStoreModule {
if (blockHeight < BRC20_GENESIS_BLOCK) continue;
logger.info(`Brc20PgStore scanning block ${blockHeight}`);
await this.sqlWriteTransaction(async sql => {
const limit = 50_000;
const limit = 5000;
let offset = 0;
do {
const block = await sql<DbBrc20ScannedInscription[]>`
Expand Down

0 comments on commit 2037647

Please sign in to comment.