qri-io / qri

you're invited to a data party!
https://qri.io
GNU General Public License v3.0
1.1k stars 66 forks source link

refactor(ws): add support for multiple connections #1935

Closed Arqu closed 2 years ago

Arqu commented 2 years ago

Enables users to have multiple ws connections open. This was a nuisance to users and also killed e2e testing.

Arqu commented 2 years ago

@ramfox The only thing I'm a bit unsure here is if I'm handling unsubscribe correctly. Not sure where from it might be called externally and what the end goal in that case might be. Does the request mean terminate ALL connections for the profile or just that specific one?