Skip to content
New issue

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

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

Already on GitHub? Sign in 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
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.

On-demand flushing of offline transport
3 participants