MCPcopy Create free account
hub / github.com/RioArisk/claudecode_api_RemoteControl / createHubProbeInfo

Function createHubProbeInfo

app/src/modules/hub.js:139–148  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

137
138// ---- Hub probe ----
139function createHubProbeInfo() {
140 return {
141 status: 'probing',
142 latencyMs: null,
143 lastProbeAt: 0,
144 lastSuccessAt: 0,
145 consecutiveFailures: 0,
146 probeToken: 0,
147 };
148}
149
150function getHubProbeInfo(serverId) {
151 if (!hubStatus.has(serverId)) hubStatus.set(serverId, createHubProbeInfo());

Callers 3

getHubProbeInfoFunction · 0.70
resetHubProbeInfoFunction · 0.70
saveServerDialogFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected