Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: vercel api timeout #41

Merged
merged 6 commits into from
Apr 7, 2021
Merged

fix: vercel api timeout #41

merged 6 commits into from
Apr 7, 2021

Conversation

vn7n24fzkq
Copy link
Owner

@vn7n24fzkq vn7n24fzkq commented Apr 6, 2021

  • We modify some GraphQL API to decrease response time.
  • We rewrite the logic for Top Language By Commit Card, now we only calculate commits in the last year so that can be more dynamically.
  • If you using URL usage, some summary only contain in two year, this behavior can avoid vercel get 502 error in hobby plan account.

@vercel
Copy link

vercel bot commented Apr 6, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/vn7n24fzkq/github-profile-summary-cards/Gx5dhyq2M9QyJD8M1f2uf33U4LEc
✅ Preview: https://github-profile-git-fix-vercel-api-timeout-vn7-b12308.vercel.app

@vn7n24fzkq vn7n24fzkq merged commit 3a1f607 into master Apr 7, 2021
@vn7n24fzkq vn7n24fzkq deleted the fix/vercel-api-timeout branch April 7, 2021 18:15
vn7n24fzkq added a commit that referenced this pull request Jan 7, 2022
* Update GitHub GraphQL API

* Update cards & tests

* Fix typo

* Fix typo

* Update display for vercel version

* fix: github corner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant