瀏覽代碼

Merge pull request #2941 from gravitl/NET-1255

NET-1255: Send peer update on startup
Abhishek K 1 年之前
父節點
當前提交
09d7001fa5
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      mq/mq.go

+ 1 - 0
mq/mq.go

@@ -129,6 +129,7 @@ func SetupMQTT(fatal bool) {
 
 // Keepalive -- periodically pings all nodes to let them know server is still alive and doing well
 func Keepalive(ctx context.Context) {
+	go PublishPeerUpdate(true)
 	for {
 		select {
 		case <-ctx.Done():