LordDashMe / github-contribution-stats

Dynamically generated Github Contribution Stats. :chart_with_upwards_trend: :calendar:
https://github.com/LordDashMe/github-contribution-stats
MIT License
552 stars 27 forks source link

Frequently times out on github readme #27

Open rubengmurray opened 2 years ago

rubengmurray commented 2 years ago

Often, when I go to my own profile page on Github where the README.MD is rendered, the embedded URL shows a broken link icon with the alt text.

I presume this is because the request is timing out based on some github site rule.

On my own site where I have it embedded, I have no timeout set and it always loads eventually, but it can take ~5 seconds to load.

LordDashMe commented 2 years ago

Hello, @rubengmurray. How often you experienced this? Also can we know if this issue still persisting as of my writing?

Thank you :relaxed:

rubengmurray commented 2 years ago

I've added the code back into my README & i'll monitor. Seemed to work fine on the first load so I'll keep monitoring

https://github.com/rubengmurray

rubengmurray commented 2 years ago
Screenshot 2022-03-17 at 23 24 56

Same thing

LordDashMe commented 2 years ago

Hello, @rubengmurray. Appreciated the details and replies, so far for me the content is ok. See screenshot: Screenshot from 2022-03-21 09-34-42

Currently we have a caching time of 30mins for the content to prevent the over use of the limited API request from the github grapql. If you encounter the issue again try to check it after 30mins and let see if the issue still persist.

Thank you :relaxed:

rubengmurray commented 2 years ago

Hi @LordDashMe,

I'm not sure what it is, whether it's a regional thing, browser based thing, or something else, but if it's not cached when I visit that page, I get the broken image.

I'm using Brave: Version 1.35.104 Chromium: 98.0.4758.109 (Official Build) (x86_64) on macOS Monterey.

In any case, for me it comes up with a broken link too often on my profile page so I'm going to comment it out again.