MCPcopy Create free account
hub / github.com/BabylonSocial/babylon / fallbackToDirectDbWrite

Function fallbackToDirectDbWrite

packages/api/src/utils/api-keys.ts:218–233  ·  view source on GitHub ↗

* Fallback to direct database write when Redis is unavailable. * * WHY: Ensures lastUsedAt is updated even if Redis is down. This is the original behavior, * maintained for fault tolerance. When Redis is unavailable, we gracefully degrade to * individual DB writes rather than losing updates enti

(keyId: string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

scheduleLastUsedUpdateFunction · 0.85

Calls 4

asSystemFunction · 0.90
warnMethod · 0.80
setMethod · 0.65
updateMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…