From 869915a92f5b86dbaed2ccc3566d23649389e529 Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 31 Jan 2022 19:30:18 +0100 Subject: [PATCH] ensure that messages are received through ack --- serverCommunication/serverCommunication.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serverCommunication/serverCommunication.go b/serverCommunication/serverCommunication.go index 1ef137b..1e1fe54 100644 --- a/serverCommunication/serverCommunication.go +++ b/serverCommunication/serverCommunication.go @@ -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()