ensure that messages are received through ack
parent
43d3987744
commit
869915a92f
|
@ -27,7 +27,7 @@ func getClientByDest(dest int, uuid string) (*structs.WebClient, *structs.Minecr
|
|||
*/
|
||||
|
||||
func AckHandler() {
|
||||
ticker := time.NewTicker(5 * time.Second) // 20 * time.Millisecond
|
||||
ticker := time.NewTicker(20 * time.Millisecond) // 20 * time.Millisecond
|
||||
|
||||
for _ = range ticker.C {
|
||||
currentTime := time.Now()
|
||||
|
|
Loading…
Reference in New Issue