Skip to content

Commit 1f3fb90

Browse files
increase tracking heartbeat interval from 30sec to 5min (#6631)
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)
1 parent 27afd01 commit 1f3fb90

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/views/GraphView.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ const onGraphReady = () => {
330330
}
331331
}
332332
333-
// 30-second heartbeat interval
333+
// 5-minute heartbeat interval
334334
tabCountInterval = window.setInterval(() => {
335335
const now = Date.now()
336336
@@ -347,7 +347,7 @@ const onGraphReady = () => {
347347
// Track tab count (include current tab)
348348
const tabCount = activeTabs.size + 1
349349
telemetry.trackTabCount({ tab_count: tabCount })
350-
}, 30000)
350+
}, 60000 * 5)
351351
352352
// Send initial heartbeat
353353
tabCountChannel.postMessage({ type: 'heartbeat', tabId: currentTabId })

0 commit comments

Comments
 (0)