Skip to content

Commit

Permalink
Add better todo comment
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewmarklloyd committed Jun 23, 2023
1 parent 5048e05 commit 0889a9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/mqtt/mqtt.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func (c MqttClient) Subscribe(topic string, logger *zap.SugaredLogger, subscribe
if err != nil {
logger.Errorf("error publishing to renderErrTopic: %s", err)
}
// wait group here?
// TODO: unbounded goroutines will clobber the server. wait group here?
go subscribeHandler(renderMessage)
}); token.Wait() && token.Error() != nil {
return token.Error()
Expand Down

0 comments on commit 0889a9e

Please sign in to comment.