-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Configure the maxBatchSize for the release when getting information f…
…rom github
- Loading branch information
Showing
2 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"); |