Github user prabhjyotsingh commented on the pull request:
>Since that issue, it takes around 10seconds to get the page content (while having a disconnected status) on each page refresh.
It works for me, with or without refreshing the browser (tested on Firefox 39 and Chrome 44)
However, it take 10sec to reconnect if its status was disconnected, but if any operation is performed over web-socket before that, it will reconnect immediately.
Let me know steps to reproduce, so I can debug it further.
>Furthermore, this PR doesn't have any description explaining what this is supposed to solve.
I'd like to hear about it, before I potentially revert that commit.
This solves https://issues.apache.org/jira/browse/ZEPPELIN-223, i.e.;
Zeppelin UI page displays connection status (connected/disconnected) to the zeppelin server. When it gets to disconnected state, user has to copy the url and paste it in another window to get to connected state. From the existing window, it is not possible to reconnect to zeppelin server (by clicking on home page or any other link).