thedillonb / GitHub-Trending

Scrapes GitHub's Trending Pages for use in CodeHub
MIT License
48 stars 10 forks source link

Trending: The data Star and Fork from server is wrong #1

Closed shenAlexy closed 8 years ago

shenAlexy commented 8 years ago

I select Objective-C trending by Today, and I found the data Star and Fork form server is wrong. For instance, my repositories of shenAlexy/MVVM Star and Fork is wrong!

thedillonb commented 8 years ago

The star and fork counters are typically out of sync for a little bit during the day as the application must continuously poll GitHub to retrieve those numbers. The numbers are cached until the next poll cycle occurs and that is why you probably saw out of data information. Unfortunately, the only way to fix that is to decrease the time in between polling - and that causes burden on GitHub's servers as well as increases bandwidth for the server making the calls. I'm not sure if it's worth it.