diff --git a/node/localdiscovery.go b/node/localdiscovery.go index d85168d..90f2e60 100644 --- a/node/localdiscovery.go +++ b/node/localdiscovery.go @@ -25,7 +25,7 @@ func sendLocalDiscovery(conn *net.UDPConn) { buf2 = make([]byte, bufferSize) ) - for range time.Tick(32 * time.Second) { + for range time.Tick(16 * time.Second) { signed := buildLocalDiscoveryPacket(buf1, buf2) if _, err := conn.WriteToUDP(signed, multicastAddr); err != nil { log.Printf("Failed to write multicast UDP packet: %v", err) diff --git a/node/supervisor.go b/node/supervisor.go index 9ecc1ec..bf89082 100644 --- a/node/supervisor.go +++ b/node/supervisor.go @@ -347,8 +347,6 @@ func (s *stateClient) OnAck(msg controlMsg[ackPacket]) { s.staged.Up = true s.logf("Got ack.") s.publish() - } else { - // TODO: What???? } // Store possible public address if we're not a public node.