MCPcopy
hub / github.com/midday-ai/midday / suggested-actions-cache.ts

File suggested-actions-cache.ts

packages/cache/src/suggested-actions-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 tracking suggested action usage per team + user
4const cache = new RedisCache("suggested-actions", 7 * 24 * 60 * 60); // 7 days TTL

Callers

nothing calls this directly

Calls 3

getMethod · 0.80
setMethod · 0.80
deleteMethod · 0.80

Tested by

no test coverage detected