Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

Update timeout for active user check.

Mike Cao0b4fd3ef8fda
diff --git a/components/charts/ActiveUsers.js b/components/charts/ActiveUsers.js
index 53fe84808..4d1118fa5 100644
--- a/components/charts/ActiveUsers.js
+++ b/components/charts/ActiveUsers.js
@@ -20,7 +20,7 @@ export default function ActiveUsers({ websiteId, className }) {
useEffect(() => {
loadData();
- const id = setInterval(() => loadData(), 10000);
+ const id = setInterval(() => loadData(), 60000);
return () => {
clearInterval(id);