anuraghazra / anuraghazra/github-readme-stats

[Down Time] Card throws 'maximum retries exceeded' error

未關閉
#1,471 164 則留言 151 個 reaction 已指派 0 人 在 GitHub 檢視
:star: top issue fixed upstream
主要語言
JavaScript
星號
79.8k
分支
37.7k
PR 合併指標
30 天內沒有已合併 PR

描述

Hi everyone, I see that all personal access tokens are currently failing, thus you will see the "Maximum retries exceeded" error.

I'm looking into the issue to figure out what caused it.

Ideally, it should be fixed in an hour when the PATs get rest.

# Details

## Public instance information

Custom badge

## Explanation

-------

Hey everyone, sorry for the recent downtimes.

For the sake of transparency, we get a huge amount of requests per month (it's kind of mind boggling for a side project which I built just for fun). Here's the vercel dashboard statistics:

![image](https://user-images.githubusercontent.com/35374649/194407743-9af65825-483a-49af-9e16-cac3a5ea5a50.png)

As you can see even with 73% of the responses being cached by vercel the amount of `live` requests are huge, and the bottleneck here is [Personal Access Tokens](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)

Each PAT have 5000 points, and based on the complexity of the GraphQL query & [resource limitations](https://docs.github.com/en/graphql/overview/resource-limitations) set by GitHub, it's actually very very low considering that amount of requests.

To circumvent the issue, we currently have 7 PATs (thats 35k points) which sometimes get exhausted.
Thanks to @rickstaa we are going to add few more probably bumping it up to 10 or 12, hopefully that could help alleviate the downtimes.

> Note: That these downtimes are temporary, and only lasts for 1hour, since PATs regenerate after 1 hour

------

*So whats the idea way?*

https://github.com/anuraghazra/github-readme-stats/issues/1471#issuecomment-979306704
Deploy on your own vercel instance. WHY?
It's easy to do, free & reliable.

- It reduces loads on our vercel instance.
- Your own PAT will give you more concrete stats including private stats
- It ensures that there won't be any downtime on your profile stats because you are the only one who is gonna hit your URL

_Originally posted by @anuraghazra in https://github.com/anuraghazra/github-readme-stats/issues/2130#issuecomment-1270624232_

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。