Show connected clients and their last human action in Status
This commit is contained in:
@@ -61,7 +61,9 @@ func (s *Server) StreamEvents(w http.ResponseWriter, r *http.Request, params api
|
||||
Commit: r.Header.Get("Byre-Commit"),
|
||||
ConnectedAt: time.Now(),
|
||||
})
|
||||
defer s.clientsChanged()
|
||||
defer s.hub.unsubscribe(live)
|
||||
s.clientsChanged()
|
||||
|
||||
for {
|
||||
events, err := backfill(last)
|
||||
|
||||
Reference in New Issue
Block a user