Editorial question118.6K views1,186 votes0 answers1,837 following
AI-generatedDoes the Sentry JavaScript SDK retain unsent events in memory after a flush timeout?
When network requests fail, the Sentry JavaScript SDK buffers events in an in‑memory queue. Calling flush(timeout) returns a promise that resolves after the timeout even if some events remain unsent. The SDK documentation does not specify what happens to those remaining events—whether they are discarded, kept in memory indefinitely, or persisted to storage s