MCPcopy Index your code
hub / github.com/simstudioai/sim / sendHeartbeat

Function sendHeartbeat

apps/sim/app/api/table/[tableId]/events/stream/route.ts:88–92  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

86 }
87
88 const sendHeartbeat = () => {
89 // SSE comment line — keeps proxies (ALB default 60s idle) from closing
90 // the connection during quiet periods.
91 enqueue(`: ping ${Date.now()}\n\n`)
92 }
93
94 try {
95 // Initial replay from buffer.

Callers 1

startFunction · 0.85

Calls 1

enqueueFunction · 0.70

Tested by

no test coverage detected