Interval for Stats Refresh (and Customisation of it) #4571
-
|
couldn't find a definitive answer to this in the FAQ section and the past discussion threads, so i thought i'd ask here: how often do the stats refresh? like, what is the time interval in between each refresh? more importantly, how can i customise this interval if i'm hosting it on my personal instance? p.s.: sorry if this has been already addressed, and thanks for the great work, team! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
Hello @dianosaur12 There is an answer on your question from our documentation: Warning We use caching to decrease the load on our servers (see #1471 (comment)). Our cards have the following default cache hours: stats card - 24 hours, top languages card - 144 hours (6 days), pin card - 240 hours (10 days), gist card - 48 hours (2 days), and wakatime card - 24 hours. If you want the data on your cards to be updated more often you can deploy your own instance and set environment variable Maybe I will take time and update the FAQs with more comprehensive information soon. |
Beta Was this translation helpful? Give feedback.
Hello @dianosaur12
There is an answer on your question from our documentation:
Warning
We use caching to decrease the load on our servers (see #1471 (comment)). Our cards have the following default cache hours: stats card - 24 hours, top languages card - 144 hours (6 days), pin card - 240 hours (10 days), gist card - 48 hours (2 days), and wakatime card - 24 hours. If you want the data on your cards to be updated more often you can deploy your own instance and set environment variable
CACHE_SECONDSto a value of your choosing.Maybe I will take time and update the FAQs with more comprehensive information soon.