From 1f3fb90b1b79c4190b3faa7928b05a8ba3671307 Mon Sep 17 00:00:00 2001 From: Christian Byrne Date: Thu, 6 Nov 2025 23:05:38 -0800 Subject: [PATCH] increase tracking heartbeat interval from 30sec to 5min (#6631) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This event is taking up too much of the quota, increase the interval for now. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-6631-increase-tracking-heartbeat-interval-from-30sec-to-5min-2a46d73d3650814291c4fae50227d4ec) by [Unito](https://www.unito.io) --- src/views/GraphView.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/GraphView.vue b/src/views/GraphView.vue index bc7639015..b7ffa19e1 100644 --- a/src/views/GraphView.vue +++ b/src/views/GraphView.vue @@ -330,7 +330,7 @@ const onGraphReady = () => { } } - // 30-second heartbeat interval + // 5-minute heartbeat interval tabCountInterval = window.setInterval(() => { const now = Date.now() @@ -347,7 +347,7 @@ const onGraphReady = () => { // Track tab count (include current tab) const tabCount = activeTabs.size + 1 telemetry.trackTabCount({ tab_count: tabCount }) - }, 30000) + }, 60000 * 5) // Send initial heartbeat tabCountChannel.postMessage({ type: 'heartbeat', tabId: currentTabId })