@pratik7368patil/anchor-core 0.1.18 → 0.1.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -6037,7 +6037,7 @@ function getGitHubRateLimitDelayMs(error, attempt, now = Date.now()) {
6037
6037
  }
6038
6038
  function isGitHubGraphQLResourceLimitError(error) {
6039
6039
  const message = (error.message ?? "").toLowerCase();
6040
- return message.includes("resource limit") || message.includes("timeout") || message.includes("timed out") || message.includes("couldn't respond") || message.includes("could not respond") || message.includes("exceeded") && message.includes("node");
6040
+ return message.includes("resource limit") || message.includes("timeout") || message.includes("timed out") || message.includes("couldn't respond") || message.includes("could not respond") || message.includes("exceeded") && message.includes("node") || message.includes("exceeds") && message.includes("node") || message.includes("possible nodes") || message.includes("maximum limit of 500,000");
6041
6041
  }
6042
6042
  function updateGitHubGraphQLRateLimitState(controller, rateLimit, requestName) {
6043
6043
  if (!rateLimit || rateLimit.remaining !== 0 || !rateLimit.resetAt) return;
@@ -6309,8 +6309,8 @@ async function fetchPullRequestDetails(octokit, repoFullName, pullNumber, contro
6309
6309
 
6310
6310
  // src/github/fetch-prs-graphql.ts
6311
6311
  var MIN_PULL_REQUEST_PAGE_SIZE = 5;
6312
- var INITIAL_PULL_REQUEST_PAGE_SIZE = 50;
6313
- var MAX_PULL_REQUEST_PAGE_SIZE = 100;
6312
+ var INITIAL_PULL_REQUEST_PAGE_SIZE = 40;
6313
+ var MAX_PULL_REQUEST_PAGE_SIZE = 45;
6314
6314
  var REDUCED_PULL_REQUEST_PAGE_SIZES = [10, 5];
6315
6315
  var CONNECTION_PAGE_SIZE = 100;
6316
6316
  var GRAPHQL_RATE_LIMIT_RESERVE = 250;