mirror of
https://github.com/gravitl/netmaker.git
synced 2024-09-20 15:26:04 +08:00
comment changed
This commit is contained in:
parent
732665c3d4
commit
4a73958725
3
main.go
3
main.go
|
@ -185,8 +185,7 @@ func runGRPC(wg *sync.WaitGroup) {
|
|||
func runMessageQueue(wg *sync.WaitGroup) {
|
||||
defer wg.Done()
|
||||
logger.Log(0, fmt.Sprintf("connecting to mq broker at %s", servercfg.GetMessageQueueEndpoint()))
|
||||
var client = mq.SetupMQTT(false)
|
||||
// Set Up Keepalive message
|
||||
var client = mq.SetupMQTT(false) // Set up the subscription listener
|
||||
ctx, cancel := context.WithCancel(context.Background())
|
||||
go mq.Keepalive(ctx)
|
||||
quit := make(chan os.Signal, 1)
|
||||
|
|
Loading…
Reference in a new issue