[backport rh-test] increase tracking heartbeat interval from 30sec to 5min (#6632)

Backport of #6631 to `rh-test`

Automatically created by backport workflow.

┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-6632-backport-rh-test-increase-tracking-heartbeat-interval-from-30sec-to-5min-2a46d73d3650812cb1cfc58d0797a9d9)
by [Unito](https://www.unito.io)

Co-authored-by: Christian Byrne <cbyrne@comfy.org>
This commit is contained in:
Comfy Org PR Bot
2025-11-08 07:06:05 +09:00
committed by GitHub
parent 0303d9077f
commit dd1eff2344

View File

@@ -324,7 +324,7 @@ const onGraphReady = () => {
}
}
// 30-second heartbeat interval
// 5-minute heartbeat interval
tabCountInterval = window.setInterval(() => {
const now = Date.now()
@@ -341,7 +341,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 })