Skip to content

Commit

Permalink
Pushgateway: Until we have a presence service, register for all user …
Browse files Browse the repository at this point in the history
…messages.
  • Loading branch information
cschomburg committed Dec 10, 2017
1 parent 9be4b47 commit b57f1f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions services/pushgateway/service.go
Expand Up @@ -135,6 +135,7 @@ func (s *Service) initClient(name, token string) {
Queue: make([]sarif.Message, 0),
}
s.Subscribe("", "push/"+name, s.handleIncoming)
s.Subscribe("", "user", s.handleIncoming)
}

func (s *Service) handlePushFetch(msg sarif.Message) {
Expand Down

0 comments on commit b57f1f4

Please sign in to comment.