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

Method clearServerFailure

apps/sim/lib/mcp/service.ts:415–421  ·  view source on GitHub ↗
(workspaceId: string, serverId: string)

Source from the content-addressed store, hash-verified

413 }
414
415 private async clearServerFailure(workspaceId: string, serverId: string): Promise<void> {
416 try {
417 await this.cacheAdapter.delete(failureCacheKey(workspaceId, serverId))
418 } catch (err) {
419 logger.warn(`Failed to clear failure cache for server ${serverId}:`, err)
420 }
421 }
422
423 async discoverTools(
424 userId: string,

Callers 2

discoverToolsMethod · 0.95

Calls 3

failureCacheKeyFunction · 0.85
deleteMethod · 0.65
warnMethod · 0.65

Tested by

no test coverage detected