Skip to content

Commit

Permalink
fix: fixed rate limiting (asyncapi#3319)
Browse files Browse the repository at this point in the history
Co-authored-by: asyncapi-bot <[email protected]>
  • Loading branch information
akshatnema and asyncapi-bot authored Oct 23, 2024
1 parent 62d6e9a commit adb4832
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions scripts/dashboard/build-dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,11 +155,9 @@ function monthsSince(date) {

async function start() {
try {
const [issues, PRs, rawGoodFirstIssues] = await Promise.all([
getDiscussions(Queries.hotDiscussionsIssues, 20),
getDiscussions(Queries.hotDiscussionsPullRequests, 20),
getDiscussions(Queries.goodFirstIssues, 20)
]);
const issues = await getDiscussions(Queries.hotDiscussionsIssues, 20);
const PRs = await getDiscussions(Queries.hotDiscussionsPullRequests, 20);
const rawGoodFirstIssues = await getDiscussions(Queries.goodFirstIssues, 20);
const discussions = issues.concat(PRs);
const [hotDiscussions, goodFirstIssues] = await Promise.all([
getHotDiscussions(discussions),
Expand Down

0 comments on commit adb4832

Please sign in to comment.