Skip to content

Conversation

@andreiborza
Copy link
Member

The flush timeout was being reset on every incoming log, preventing flushes when logs arrived continuously. Now, the timer starts on the first log won't get reset, ensuring logs flush within the configured interval.

Backport of: #18211

The flush timeout was being reset on every incoming log, preventing flushes when
logs arrived continuously. Now, the timer starts on the first log won't
get reset, ensuring logs flush within the configured interval.

Backport of: #18211
@github-actions
Copy link
Contributor

size-limit report 📦

Path Size % Change Change
@sentry/browser 23.79 kB added added
@sentry/browser - with treeshaking flags 22.36 kB added added
@sentry/browser (incl. Tracing) 39.66 kB added added
@sentry/browser (incl. Tracing, Replay) 77.93 kB added added
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 67.71 kB added added
@sentry/browser (incl. Tracing, Replay with Canvas) 82.63 kB added added
@sentry/browser (incl. Tracing, Replay, Feedback) 94.76 kB added added
@sentry/browser (incl. Feedback) 40.48 kB added added
@sentry/browser (incl. sendFeedback) 28.48 kB added added
@sentry/browser (incl. FeedbackAsync) 33.37 kB added added
@sentry/react 25.55 kB added added
@sentry/react (incl. Tracing) 41.62 kB added added
@sentry/vue 28.24 kB added added
@sentry/vue (incl. Tracing) 41.45 kB added added
@sentry/svelte 23.81 kB added added
CDN Bundle 25.18 kB added added
CDN Bundle (incl. Tracing) 39.42 kB added added
CDN Bundle (incl. Tracing, Replay) 75.55 kB added added
CDN Bundle (incl. Tracing, Replay, Feedback) 81.02 kB added added
CDN Bundle - uncompressed 73.45 kB added added
CDN Bundle (incl. Tracing) - uncompressed 116.86 kB added added
CDN Bundle (incl. Tracing, Replay) - uncompressed 231.75 kB added added
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 244.56 kB added added
@sentry/nextjs (client) 43.66 kB added added
@sentry/sveltekit (client) 40.08 kB added added
@sentry/node 169.4 kB added added
@sentry/node - without tracing 100.54 kB added added
@sentry/aws-serverless 128.7 kB added added

View base workflow run

andreiborza added a commit that referenced this pull request Nov 17, 2025
…ous logging (#18211)

The flush timeout was being reset on every incoming log, preventing
flushes when logs arrived continuously. Now, the timer starts on the
first log and won't get reset, ensuring logs flush within the configured
interval.

Fixes #18204, getsentry/sentry-react-native#5378

v9 backport: #18214
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants