mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-04-23 10:58:35 +08:00
[优化]设备数据上传并发处理,添加队列,以及并发数控制
This commit is contained in:
@@ -12,7 +12,6 @@ type UdpClientT struct {
|
||||
Addr *net.UDPAddr
|
||||
}
|
||||
|
||||
// var UdpClient = make(map[string]*UdpClientT)
|
||||
var UdpClient sync.Map
|
||||
|
||||
func Send(deviceId, msg string) error {
|
||||
|
||||
Reference in New Issue
Block a user