Skip to Content
SDK ReferenceVariablesNETWORK_SAFETY_BUFFER

@tuwaio/quasar-sdk


NETWORK_SAFETY_BUFFER

const NETWORK_SAFETY_BUFFER: number

Defined in: packages/quasar-sdk/src/utils/auth.ts:37 

Safety buffer subtracted from DEFAULT_MAX_AGE during cache validation. Ensures the session is refreshed before it expires on the server, accounting for network round-trip latency between client cache check and server-side verifyMiniSession call.

Last updated on