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

fix: Prevent popup freeze by sending keep-alive alarm to background #482

Merged
merged 1 commit into from
Oct 7, 2024

Conversation

pawanpaudel93
Copy link
Contributor

@pawanpaudel93 pawanpaudel93 commented Oct 1, 2024

Summary

This PR sends keep-alive alarm to background every 20s to keep service worker alive so that the popup doesn't freeze when kept open for long time.

How to Test

  • Test both this PR (test with build not dev) and the production/beta extension with ao.link and send an AO message with write tab for a process HERE. Keep the popup for long time (> 10 minutes or maybe longer) then approve or cancel the popup to see if it works or not.

Copy link
Contributor

@7i7o 7i7o left a comment

Choose a reason for hiding this comment

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

tACK 👍 Was kept alive even after 5 hrs

@nicholaswma nicholaswma merged commit b120956 into development Oct 7, 2024
@nicholaswma nicholaswma deleted the arc-611/popup-freeze-fix branch October 7, 2024 19:25
Copy link

github-actions bot commented Oct 9, 2024

🎉 This PR is included in version 1.19.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

3 participants