From 37e3379f9dfd64d4afccb7b63df41fd5d1ca50d9 Mon Sep 17 00:00:00 2001 From: 陆恒 Date: Fri, 5 Jun 2020 14:03:37 +0800 Subject: [PATCH] 提交 --- src/HttpServer/logic/function.go | 2 ++ src/HttpServer/logic/httpserver.go | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/HttpServer/logic/function.go b/src/HttpServer/logic/function.go index 151348b..21e2843 100644 --- a/src/HttpServer/logic/function.go +++ b/src/HttpServer/logic/function.go @@ -1392,6 +1392,8 @@ func HandleRandWorldChat(ntime int) { if err != nil { logger.Error("WorldChat err=%v", err) } + } else { + logger.Info("HandleRandWorldChat not insert!") } } diff --git a/src/HttpServer/logic/httpserver.go b/src/HttpServer/logic/httpserver.go index b18c196..6b6312f 100644 --- a/src/HttpServer/logic/httpserver.go +++ b/src/HttpServer/logic/httpserver.go @@ -21,7 +21,7 @@ var gLastChatTime = 0 //定时处理倒计时 func StartHttpTicker() { - ticker := time.NewTicker(time.Second * time.Duration(60)) + ticker := time.NewTicker(time.Second * time.Duration(5)) go func() { for range ticker.C { -- libgit2 0.21.0