From 4fe2eb5b3726a44f559378e84d19099394ed8367 Mon Sep 17 00:00:00 2001 From: shoopea Date: Fri, 17 May 2019 14:26:49 +0800 Subject: [PATCH] sleep fix --- mq.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mq.go b/mq.go index 2047c8a..e0d82de 100644 --- a/mq.go +++ b/mq.go @@ -140,7 +140,7 @@ func MQKeepAliveWorker() { logOnError(err, "MQKeepAliveWorker : Publishing message.") } } - t.Sleep(time.Minute) + time.Sleep(time.Minute) } log.Printf("MQKeepAliveWorker : Closing.") }