From 3bec94a525b703142b5dfdd395188f7741e56e21 Mon Sep 17 00:00:00 2001 From: wenchuanbo Date: Tue, 10 Apr 2018 16:10:37 +0800 Subject: [PATCH] =?UTF-8?q?fixbug:=20server.cleanThread=E6=97=A0sleep?= =?UTF-8?q?=E5=AF=BC=E8=87=B4mongo=20server=E8=B4=9F=E8=BD=BD=E8=BF=87?= =?UTF-8?q?=E5=A4=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/safecheck/health.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/safecheck/health.go b/server/safecheck/health.go index e1cf78d..f5b539a 100644 --- a/server/safecheck/health.go +++ b/server/safecheck/health.go @@ -38,6 +38,8 @@ func cleanThread() { log.Println(err.Error()) } } + + time.Sleep(time.Second * 60) } }