parabol
parabol copied to clipboard
feat: user presence supports k8s
Description
fix #7204
User presence is currently reset during a postDeploy
step. This won't work when we move to k8s and have multiple servers deploying at different times.
This PR will wipe out user presence for all users connected to a given socket server during shutdown. In the event of an ungraceful shutdown, when a server starts up it performs a health check on all other servers. It then removes any user presence for servers that were not present during the health check.
Testing scenarios
- [ ] tbd
SonarCloud Quality Gate failed.
1 Bug
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication