* Hold the event source when there are no listeners The event source does not need to run when there are no listeners. Therefore pause it when there are none. * add some more logging Signed-off-by: Andrew Thornton <[email protected]>
If the browser supports EventSource switch to use this instead of polling notifications. Signed-off-by: Andrew Thornton [email protected]