Commit Graph

2 Commits (9361b65f542671457ed09c35ddde9d09ee06d136)

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