Commit 37e3379f9dfd64d4afccb7b63df41fd5d1ca50d9

Authored by 陆恒
1 parent 8fea65d8
Exists in master

提交

src/HttpServer/logic/function.go
@@ -1392,6 +1392,8 @@ func HandleRandWorldChat(ntime int) { @@ -1392,6 +1392,8 @@ func HandleRandWorldChat(ntime int) {
1392 if err != nil { 1392 if err != nil {
1393 logger.Error("WorldChat err=%v", err) 1393 logger.Error("WorldChat err=%v", err)
1394 } 1394 }
  1395 + } else {
  1396 + logger.Info("HandleRandWorldChat not insert!")
1395 } 1397 }
1396 1398
1397 } 1399 }
src/HttpServer/logic/httpserver.go
@@ -21,7 +21,7 @@ var gLastChatTime = 0 @@ -21,7 +21,7 @@ var gLastChatTime = 0
21 21
22 //定时处理倒计时 22 //定时处理倒计时
23 func StartHttpTicker() { 23 func StartHttpTicker() {
24 - ticker := time.NewTicker(time.Second * time.Duration(60)) 24 + ticker := time.NewTicker(time.Second * time.Duration(5))
25 25
26 go func() { 26 go func() {
27 for range ticker.C { 27 for range ticker.C {