-
Notifications
You must be signed in to change notification settings - Fork 6
Handling connectivity
Benjamin Christensen edited this page Feb 6, 2018
·
3 revisions
This issue https://github.com/cfdp/opeka/issues/94 addresses the problem
To summarize:
Current behavior: Under the advanced settings in the Opeka module, the reconnection settings can be configured:
- Activation
- Max reconnection attempts
- Reconnection interval (ms)
Unfortunately quite a few issues arises from the current implementation, see issue queue.
What we are aiming for:
When a user looses internet connection for a certain time e.g. 6 sec. (server side setting) reconnection should be attempted.
- While reconnecting
- the client should be presented with an alert box announcing the state
- other clients in the same room should see the label (reconnecting...) after the client alias in the user list
- The reconnection attempt should continue as defined in "Max reconnection attempts" - but a timeout should also be defined server side to prevent clients from abusing / exploiting the reconnect feature.
If the reconnection succeeds
- the user should receive the "same state" as before - same room, same alias etc.
Special case for the counselors when reconnecting:
- The room should pause!