Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat(browser): Flush offline queue on flush and browser online event #14764

Merged
merged 4 commits into from
Dec 18, 2024

Conversation

timfish
Copy link
Collaborator

@timfish timfish commented Dec 17, 2024

This PR:

  • Resets the offline queue time on flush so that sending is retried
  • In the browser calls flush when the online event is fired

@timfish timfish changed the title feat: Flush offline queue on flush and browser online event feat(browser): Flush offline queue on flush and browser online event Dec 17, 2024
Copy link
Member

@AbhiPrasad AbhiPrasad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs a test

@timfish timfish requested a review from AbhiPrasad December 18, 2024 16:47
@AbhiPrasad
Copy link
Member

Let's make sure we backport this to v8! We can get it released for that.

@AbhiPrasad AbhiPrasad merged commit 2628e40 into develop Dec 18, 2024
151 checks passed
@AbhiPrasad AbhiPrasad deleted the timfish/feat/offline-flush-online branch December 18, 2024 18:57
@joshkel
Copy link
Contributor

joshkel commented Jan 8, 2025

@AbhiPrasad Is the plan still to backport this offline-flush feature to Sentry v8? I can accept either way, I'm just hoping to know for planning purposes. Thank you.

@timfish
Copy link
Collaborator Author

timfish commented Jan 8, 2025

Is the plan still to backport this offline-flush feature to Sentry v8?

Sorry I must have missed this! I will backport to v8.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

On-demand flushing of offline transport
3 participants