MCPcopy Create free account
hub / github.com/Mnexa-AI/e2a / Invalidate

Method Invalidate

internal/limits/limits.go:68–68  ·  view source on GitHub ↗

Invalidate evicts the user's cached Limits so the next Get/Check re-reads from the database. Called by the limits-invalidate HTTP endpoint when an external writer (e.g. billing sidecar) has just updated account_limits.

(userID string)

Source from the content-addressed store, hash-verified

66 // endpoint when an external writer (e.g. billing sidecar) has just
67 // updated account_limits.
68 Invalidate(userID string)
69}
70
71// LimitExceededError is returned by Check* methods when the user has

Implementers 1

DBEnforcerinternal/limits/enforcer.go

Calls

no outgoing calls