mirror of
https://github.com/gravitl/netmaker.git
synced 2026-04-22 16:07:11 +08:00
publish peerupdate on startup
This commit is contained in:
@@ -125,7 +125,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)
|
||||
go PublishPeerUpdate(false)
|
||||
for {
|
||||
select {
|
||||
case <-ctx.Done():
|
||||
|
||||
Reference in New Issue
Block a user