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

Function syncHubProbeState

app/src/modules/hub.js:163–173  ·  view source on GitHub ↗
(servers)

Source from the content-addressed store, hash-verified

161}
162
163function syncHubProbeState(servers) {
164 const ids = new Set(servers.map(server => server.id));
165 Array.from(hubStatus.keys()).forEach(id => {
166 if (ids.has(id)) return;
167 hubStatus.delete(id);
168 if (hubRetryTimers.has(id)) {
169 clearTimeout(hubRetryTimers.get(id));
170 hubRetryTimers.delete(id);
171 }
172 });
173}
174
175function hubPingTone(latencyMs) {
176 if (!Number.isFinite(latencyMs)) return 'offline';

Callers 2

renderHubCardsFunction · 0.70
probeAllServersFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected