Skip to content

Commit

Permalink
fix(core): Fix batch size error on postgres when reindexing (#1242)
Browse files Browse the repository at this point in the history
  • Loading branch information
HarunKilic authored Nov 26, 2021
1 parent 5ee371d commit 57be4c5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ export class IndexerController {
}
}

await this.queue.push(() => this.connection.getRepository(SearchIndexItem).save(items));
await this.queue.push(() => this.connection.getRepository(SearchIndexItem).save(items, { chunk: 2500 }));
}

/**
Expand Down

0 comments on commit 57be4c5

Please sign in to comment.