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: add heartbeat to background service worker #2151

Merged
merged 2 commits into from Apr 29, 2024

Conversation

ryanleecode
Copy link
Collaborator

@ryanleecode ryanleecode commented Apr 28, 2024

Improves the stability of the extension by ensuring it doesnt shutdown randomly due to the nature of chrome background service worker lifecycle.

This doesn't fix #1786 but reduces the likelihood of the extension getting stuck in the past.

See: https://developer.chrome.com/docs/extensions/develop/migrate/to-service-workers, section: "Keep a service worker alive continuously"

@ryanleecode ryanleecode marked this pull request as ready for review April 28, 2024 16:53
@ryanleecode ryanleecode merged commit bebf1c4 into main Apr 29, 2024
12 of 13 checks passed
@ryanleecode ryanleecode deleted the feat/extension-heartbeat branch April 29, 2024 15:55
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.

The extension gets "stuck" in the past
2 participants