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

File chat-cache.ts

packages/cache/src/chat-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 chat data shared across all server instances
4const userContextCache = new RedisCache("chat:user", 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