DEFAULT_SESSION_STATE_MAX_BYTES
@forge/monorepo / backend/src / DEFAULT_SESSION_STATE_MAX_BYTES
Variable: DEFAULT_SESSION_STATE_MAX_BYTES
constDEFAULT_SESSION_STATE_MAX_BYTES:number
Defined in: backend/src/persistence/index.ts:87
The ceiling on session state, defined here rather than in an adapter (#97). It is a domain limit —
session state is bounded working memory, not a document store — and every adapter must enforce the
same one. It previously lived in adapters/memory/sessions.ts, which made two adapters agreeing on
it a coincidence rather than a property.