watch pods instead of polling
All checks were successful
Build and Publish / BuildAndDeploy (push) Successful in 1m57s

This commit is contained in:
matst80
2024-11-10 10:26:21 +01:00
parent 1628c8ca31
commit 351280347b
6 changed files with 90 additions and 13 deletions

View File

@@ -54,6 +54,7 @@ func SendPacket(conn io.Writer, messageType uint16, datafn func(w io.Writer) err
MessageType: messageType,
DataLength: uint16(len(data)),
})
packetsSent.Inc()
_, err = conn.Write(data)
return err
}