MCPcopy
hub / github.com/midday-ai/midday / team-permissions-cache.ts

File team-permissions-cache.ts

packages/cache/src/team-permissions-cache.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { RedisCache } from "./redis-client";
2
3// Redis-based cache for team permissions shared across all server instances
4const cache = new RedisCache("team-permissions", 30 * 60); // 30 minutes TTL

Callers

nothing calls this directly

Calls 3

getMethod · 0.80
setMethod · 0.80
deleteMethod · 0.80

Tested by

no test coverage detected