(workspaceId: string, serverId: string)
| 404 | } |
| 405 | |
| 406 | private async isServerUnhealthy(workspaceId: string, serverId: string): Promise<boolean> { |
| 407 | try { |
| 408 | const entry = await this.cacheAdapter.get(failureCacheKey(workspaceId, serverId)) |
| 409 | return entry !== null |
| 410 | } catch { |
| 411 | return false |
| 412 | } |
| 413 | } |
| 414 | |
| 415 | private async clearServerFailure(workspaceId: string, serverId: string): Promise<void> { |
| 416 | try { |
no test coverage detected