mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-04 23:20:07 +00:00
[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:
@@ -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 })
|
||||
|
||||
Reference in New Issue
Block a user