Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/codeaashu/claude-code
/ startPing
Method
startPing
web/lib/collaboration/socket.ts:302–306 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
300
}
301
302
private startPing(): void {
303
this.pingInterval = setInterval(() => {
304
this.ws?.send(JSON.stringify({
type
:
"ping"
}));
305
}, 30_000);
306
}
307
308
private stopPing(): void {
309
if
(this.pingInterval) {
Callers
1
connect
Method · 0.95
Calls
1
send
Method · 0.65
Tested by
no test coverage detected