Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Openpanel-dev/openpanel
/ enableEventsHeartbeat
Function
enableEventsHeartbeat
apps/worker/src/utils/worker-heartbeat.ts:12–15 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
10
let
lastActivityAt = Date.now();
11
12
export
function
enableEventsHeartbeat() {
13
enabled = true;
14
lastActivityAt = Date.now();
15
}
16
17
export
function
markEventsActivity() {
18
lastActivityAt = Date.now();
Callers
1
bootWorkers
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected