At what interval of time are the stats updated? #782
-
I was wondering at what interval of time the stats were updated? Also, at the bottom it says "last updated....." what timezone is that in? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi 👋 ! If you're using the GitHub Action, then it depends on which schedule you used (see Setup GitHub Action workflow). You can change the cron to whatever you'd like, but tbh anything lower than 1 hour is probably overkill # Schedule daily updates
on:
schedule: [{cron: "0 0 * * *"}] For timezone, you need to use - uses: lowlighter/metrics@latest
with:
config_timezone: Europe/Paris The shared web instance (metrics.lecoq.io) has a cache of about one hour, and stats are updated only when it expires and a new request is sent to it |
Beta Was this translation helpful? Give feedback.
Hi 👋 !
If you're using the GitHub Action, then it depends on which schedule you used (see Setup GitHub Action workflow). You can change the cron to whatever you'd like, but tbh anything lower than 1 hour is probably overkill
For timezone, you need to use
config_timezone
(see Configure used timezone):The shared web instance (metrics.lecoq.io) has a cache of about one hour, and stats are updated only when it expires and a new request is sent to it