wizarrrr / wizarr

Wizarr is an advanced user invitation and management system for Jellyfin, Plex, Emby etc.
https://docs.wizarr.dev
MIT License
1.15k stars 83 forks source link

[Bug/Solution] | Setting a Github Rate limit for statistics on the site #440

Open ramazansancar opened 1 month ago

ramazansancar commented 1 month ago

Are you using the latest release?

Have you checked a bug report doesn't already exist?

What happened?

It may be better to create a script for the statistics section of your website and run it periodically with cron via github action, keeping the data in a json file in the repo or in the docs to feed the website.

image

Virtualisation

Other

What operating system are you seeing the problem on?

Other

What browsers are you seeing the problem on?

Chrome

Project Location

Somewhere else (please specify in the description!)

Bug Description

It may be better to create a script for the statistics section of your website and run it periodically with cron via github action, keeping the data in a json file in the repo or in the docs to feed the website.

See here: https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting

Steps to Reproduce

No response

Relevant Log Output

No response