debug msg
parent
54237b2df7
commit
530be231e3
|
@ -63,7 +63,6 @@ func handleSendQueueMessage(currentTime time.Time, webClient *structs.WebClient,
|
||||||
if int(currentTime.UnixMilli())-int(msg.Time.UnixMilli()) > kraSettingsConfig.Cfg.WebSocket.AckTimeouts[msg.TrySendCount] {
|
if int(currentTime.UnixMilli())-int(msg.Time.UnixMilli()) > kraSettingsConfig.Cfg.WebSocket.AckTimeouts[msg.TrySendCount] {
|
||||||
var err error
|
var err error
|
||||||
|
|
||||||
if webClient != nil && mcClient != nil {
|
|
||||||
msg.Time = currentTime
|
msg.Time = currentTime
|
||||||
|
|
||||||
if webClient != nil {
|
if webClient != nil {
|
||||||
|
@ -87,5 +86,5 @@ func handleSendQueueMessage(currentTime time.Time, webClient *structs.WebClient,
|
||||||
msg.TrySendCount++
|
msg.TrySendCount++
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue