We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af2c93c commit e7eb5f2Copy full SHA for e7eb5f2
1 file changed
apps/sim/lib/mcp/service.ts
@@ -673,9 +673,9 @@ class McpService {
673
async clearCache(workspaceId?: string): Promise<void> {
674
try {
675
if (workspaceId) {
676
- // Enumerate without enabled/deletedAt filters so disabled or soft-deleted
677
- // servers still get their cache keys dropped (hard-deleted rows are gone
678
- // from the table and their keys expire naturally via TTL).
+ // No enabled/deletedAt filter so disabled and soft-deleted rows are
+ // cleared too. Hard-deleted rows are gone from the table; their keys
+ // expire via TTL.
679
const rows = await db
680
.select({ id: mcpServers.id })
681
.from(mcpServers)
0 commit comments