Skip to content

Conversation

@parfeon
Copy link
Contributor

@parfeon parfeon commented Jun 17, 2025

fix(shared-worker): fix issue which unsubscribed additional channels

Fix issue that has been caused by the race of conditions on tab close and led to presence leave for channels that were still in use.

refactor(shared-worker): change leeway for rapid heartbeat filter out

Make leeway depending from the minimal heartbeat interval (5% from it) to filter out too rapid heartbeat calls.

Fix issue that has been caused by the race of conditions on tab close and led to `presence leave`
for channels that were still in use.

refactor(shared-worker): change leeway for rapid heartbeat filter out

Make leeway depending from the minimal heartbeat interval (5% from it) to filter out too rapid
heartbeat calls.
@parfeon parfeon self-assigned this Jun 17, 2025
@parfeon parfeon added status: done This issue is considered resolved. priority: medium This PR should be reviewed after all high priority PRs. type: fix This PR contains fixes to existing features. labels Jun 17, 2025
@pubnub-ops-terraform
Copy link

pubnub-ops-terraform commented Jun 17, 2025

🎉 Snyk checks have passed. No issues have been found so far.

security/snyk check is complete. No issues have been found. (View Details)

license/snyk check is complete. No issues have been found. (View Details)

@parfeon parfeon marked this pull request as ready for review June 17, 2025 15:24
@mohitpubnub
Copy link
Contributor

Great to see that codacy is fine and doesn't raise concern that additional calculation has added complexity in the code.

@parfeon
Copy link
Contributor Author

parfeon commented Jun 18, 2025

@pubnub-release-bot release

@parfeon parfeon merged commit 913ebaf into master Jun 18, 2025
9 checks passed
@parfeon parfeon deleted the fix/shared-worker-offline-cleanup branch June 18, 2025 14:56
@pubnub-release-bot
Copy link
Contributor

🚀 Release successfully completed 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority: medium This PR should be reviewed after all high priority PRs. status: done This issue is considered resolved. type: fix This PR contains fixes to existing features.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants