Closed clkao closed 8 years ago
maybe there's also a way to fix this. could we have random wildcard subdomains with signalhub?
i fear if the ui, ie the whole thread, is blocked, there's no way we can update any ui.
i'll take a look at this
@clkao are you sure it is signalhub connections and not webrtc data channels thats the bottleneck here?
Aye, Chrome 53.0.2760.0 canary. From a second tab opening hyperdrive-ui:
signalhub connections are always pending. they are event source streams.
This is from the first tab: first 4 connections are done and there are two pending. I think that's the open connection preventing the second tab from establishing the eventsource.
Can you reproduce the issue with the second tab in the same browser?
moving this to datproject/dat.land
If you have multiple browser tabs, the connection to signalhub is blocked due to per-host connection limit (hello this is 2016?) and making the UI non-responsive.
There should be an indicator if signalhub is not responsive after a few seconds.