Skip to content

Commit

Permalink
Configure the maxBatchSize for the release when getting information f…
Browse files Browse the repository at this point in the history
…rom github
  • Loading branch information
paales committed Dec 18, 2024
1 parent fa8d125 commit a04fae0
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/sweet-lizards-buy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@graphcommerce/next-config': patch
---

Configure the maxBatchSize for the release when getting information from github
13 changes: 13 additions & 0 deletions patches/@changesets+get-github-info+0.6.0.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/node_modules/@changesets/get-github-info/dist/changesets-get-github-info.cjs.js b/node_modules/@changesets/get-github-info/dist/changesets-get-github-info.cjs.js
index a74df59..d8af2dc 100644
--- a/node_modules/@changesets/get-github-info/dist/changesets-get-github-info.cjs.js
+++ b/node_modules/@changesets/get-github-info/dist/changesets-get-github-info.cjs.js
@@ -211,7 +211,7 @@ const GHDataLoader = new DataLoader__default["default"](async requests => {

return cleanedData[repo][data.kind][data.kind === "pull" ? data.pull : data.commit];
});
-});
+}, { maxBatchSize: 100 });
async function getInfo(request) {
if (!request.commit) {
throw new Error("Please pass a commit SHA to getInfo");

0 comments on commit a04fae0

Please sign in to comment.