anuraghazra / github-readme-stats

:zap: Dynamically generated stats for your github readmes
https://github-readme-stats.vercel.app
MIT License
69.52k stars 23.03k forks source link

Could not fetch total commits. #3888

Closed Diraw closed 3 months ago

Diraw commented 3 months ago

Describe the bug

Something went wrong!
Could not fetch total commits.
Please try again later
https://github-readme-stats.vercel.app/api?username=Diraw&theme=transparent&include_all_commits=true&show_icons=true&hide_border=true&hide_title=true&text_size=16&text_color=333333&icon_color=333333&hide=contribs

Expected behavior

No response

Screenshots / Live demo link

下载

Additional context

No response

Diraw commented 3 months ago

fill this with add &cache_seconds=1800 at last

https://github-readme-stats.vercel.app/api?username=Diraw&theme=transparent&include_all_commits=true&show_icons=true&hide_border=true&hide_title=true&text_size=16&text_color=333333&icon_color=333333&hide=contribs&cache_seconds=1800

Perhaps setting a cache duration can improve the efficiency and response speed of API requests and avoid the rate limits caused by frequent requests.