Commit Graph

2 Commits (23fbf5e1eef8985d8223e5c34e92e8bd2c97bac4)

Author SHA1 Message Date
zeripath 8e32eeb5de
Hold the event source when there are no listeners ()
* 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 <art27@cantab.net>
zeripath 791353c03b
Add EventSource support ()
If the browser supports EventSource switch to use this instead of
polling notifications.

Signed-off-by: Andrew Thornton art27@cantab.net