antonkomarev / github-profile-views-counter

It counts how many times your GitHub profile has been viewed. Free cloud micro-service.
https://komarev.com/sources/github-profile-views-counter
MIT License
4.02k stars 365 forks source link

Profile viewed zeroed #50

Closed berkealgul closed 2 years ago

berkealgul commented 2 years ago

after the yesterdays issue my view count resetted. is anyone else experienced same issue?

antonkomarev commented 2 years ago

This issue is not related to the downtime. There is a case when two concurrent requests may overwrite counter value. But because detalization is stored in the separate file, we will be able to recount and restore these values. I recommend you to use https://yhype.me, it does not have concurrent requests issue and have much more features which are not possible to implement in this project.

berkealgul commented 2 years ago

thank you for reply. How we should restore the previous count value?

antonkomarev commented 2 years ago

@berkealgul if you want to help, you could write script to count views in detalized file and write result in summary file. I will help with the code review.