publish peerupdate on startup

This commit is contained in:
abhishek9686
2026-04-20 15:48:53 +05:30
parent f870856f0a
commit fe14260e6b
+1 -1
View File
@@ -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():