more features
All checks were successful
Build and Publish / BuildAndDeploy (push) Successful in 1m52s
All checks were successful
Build and Publish / BuildAndDeploy (push) Successful in 1m52s
This commit is contained in:
@@ -55,7 +55,7 @@ func NewPacketQueue(connection net.Conn) *PacketQueue {
|
||||
l = append(l, packet)
|
||||
}
|
||||
}
|
||||
|
||||
packetQueue.Set(float64(len(queue.Packets)))
|
||||
queue.Packets = append(l, PacketWithData{
|
||||
MessageType: packet.MessageType,
|
||||
Added: ts,
|
||||
@@ -63,7 +63,6 @@ func NewPacketQueue(connection net.Conn) *PacketQueue {
|
||||
})
|
||||
queue.mu.Unlock()
|
||||
packetsReceived.Inc()
|
||||
packetQueue.Set(float64(len(queue.Packets)))
|
||||
}
|
||||
}()
|
||||
return queue
|
||||
|
||||
Reference in New Issue
Block a user