You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Platform: Chrome, Mac OS X Mojave (but bug happens on other platforms: Windows, Yandex Browser)
Subsystem: pubsub
Type: Bug
Severity: High
Description:
Sometimes, but very rarely, module loses connected peers and (presumably) calls them offline, while retaining connection for them (see screenshot).
The thing is our app highly relies on online/offline peer status, so we need to know for sure when peer went offline. To track that, we rely on pubsub's 'user offline' events.
Unfortunately, it seems sometimes message comes when user didn't really went offline. And then we can't know he is online, because pubsub does not send event when user's already online.
Steps to reproduce the error:
I can't reproduce it for now, but it happens once in a while.
Type: Bug
Severity: High
Description:
Sometimes, but very rarely, module loses connected peers and (presumably) calls them offline, while retaining connection for them (see screenshot).
The thing is our app highly relies on online/offline peer status, so we need to know for sure when peer went offline. To track that, we rely on pubsub's
'user offline'
events.Unfortunately, it seems sometimes message comes when user didn't really went offline. And then we can't know he is online, because pubsub does not send event when user's already online.
Steps to reproduce the error:
I can't reproduce it for now, but it happens once in a while.
Our code:
(https://github.com/swaponline/swap.core/blob/master/src/swap.room/SwapRoom.js#L80)
Screenshots:
The text was updated successfully, but these errors were encountered: