MCPcopy
hub / github.com/midday-ai/midday / replication-cache.ts

File replication-cache.ts

packages/cache/src/replication-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 to track teams who recently performed mutations, shared across all server instances
4// Key: teamId, Value: timestamp when they should be able to use replicas again

Callers

nothing calls this directly

Calls 3

getMethod · 0.80
setMethod · 0.80
deleteMethod · 0.80

Tested by

no test coverage detected