-
Notifications
You must be signed in to change notification settings - Fork 400
Fix rapid subscribe aggregate #461
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
base: master
Are you sure you want to change the base?
Conversation
Fix the issue because of which rapid subscription (from other PubNub clients in response to received subscribe response) throttling causes delayed channel list change. refactor(shared-worker): add output of requests processed by the `SharedWorker` Modify the `log` payload for `SharedWorker` to make it possible to log sent / received requests information to the main browser window (not to the SharedWorker console).
🎉 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) |
Depending on client configuration, it will emit `status` for heartbeat, which has been started by the `SharedWorker` backup heartbeat timer mechanism. feat(shared-worker): stop `backup` heartbeats on 403 Stop heartbeats until the auth key / access token is changed. On change, `SharedWorker` will send an immediate heartbeat request. refactor(shared-worker): restart `backup` heartbeat on explicit heartbeat Restart the timer of the backup heartbeat if an explicit heartbeat request has been received from the main PubNub client.
* | ||
* @default `true` | ||
*/ | ||
announceFailedHeartbeats: boolean; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this will help to get more feedback on hb
👍🏻
Looks fine so far. |
fix(shared-worker): fix rapid subscribe aggregate
Fix the issue because of which rapid subscription (from other PubNub clients in response to received subscribe response) throttling causes delayed channel list change.
feat(shared-worker): emit heartbeat processing status
Depending on client configuration, it will emit
status
for heartbeat, which has been started by theSharedWorker
backup heartbeat timer mechanism.feat(shared-worker): stop
backup
heartbeats on 403Stop heartbeats until the auth key / access token is changed. On change,
SharedWorker
will send an immediate heartbeat request.refactor(shared-worker): restart
backup
heartbeat on explicit heartbeatRestart the timer of the backup heartbeat if an explicit heartbeat request has been received from the main PubNub client.
refactor(shared-worker): add output of requests processed by the
SharedWorker
Modify the
log
payload forSharedWorker
to make it possible to log sent / received requests information to the main browser window (not to theSharedWorker
console).