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