Skip to content

Commit

Permalink
smaller chunks
Browse files Browse the repository at this point in the history
  • Loading branch information
dholms committed Nov 8, 2023
1 parent d01d887 commit 80110be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/pds/src/migrate-script/load-dids.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const run = async () => {
}))
.filter((row) => row.did.length > 2)
await Promise.all(
chunkArray(dids, 500).map((chunk) =>
chunkArray(dids, 50).map((chunk) =>
db
.insertInto('status')
.values(chunk)
Expand Down

0 comments on commit 80110be

Please sign in to comment.