Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
1
import
{ 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
get
Method · 0.80
set
Method · 0.80
delete
Method · 0.80
Tested by
no test coverage detected