sinfo / eventdeck

:calendar: The awesome web app that supports awesome events
MIT License
9 stars 3 forks source link

Fix issues with websockets #329

Open JGAntunes opened 8 years ago

JGAntunes commented 8 years ago

Our services using websockets are faulty due to the way we maintain client connections. The way this connections are maintained is based on the user userId, which brings all kind of problems if you have multiple tabs open for example. There may be other issues since we use socket.io, so I would recommend that this whole code should be carefully reviewed and connections monitored. Also, we need a way to safely run multiple instances of the Eventdeck without breaking this.