ensure that messages are received through ack
parent
cc0cccdc3e
commit
bffbe78cfa
|
@ -54,13 +54,13 @@ func AckHandler() {
|
|||
if err != nil {
|
||||
logger.Minecraft.Println("ackHandler err sending msg", err)
|
||||
}
|
||||
|
||||
if msg.TrySendCount < 4 {
|
||||
msg.TrySendCount++
|
||||
}
|
||||
} else {
|
||||
logger.Minecraft.Println("ok here")
|
||||
}
|
||||
|
||||
if msg.TrySendCount < 4 {
|
||||
msg.TrySendCount++
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue