Commit c518196079356d66562cb7be28e81a160d13524a

Authored by 陆恒
1 parent a146db7e
Exists in master

提交

src/HttpServer/logic/httpserver.go
... ... @@ -26,6 +26,7 @@ func StartHttpServe() {
26 26  
27 27 //just for test
28 28 func Testsendhttp() {
  29 + logger.Info("start Testsendhttp")
29 30 result, err := redishandler.GetRedisClient().HGetAllValues(redis.USER_DATA_KEY)
30 31 if err != nil {
31 32 logger.Error("TestDDt failed")
... ...
src/HttpServer/main/main.go
... ... @@ -67,7 +67,7 @@ func main() {
67 67 //logic.Test()
68 68 //go logic.StartHttpServe()
69 69 //go logic.StartHttpTicker()
70   - time.Sleep(time.Duration(2) * time.Second)
  70 + //time.Sleep(time.Duration(2) * time.Second)
71 71 logic.Testsendhttp()
72 72  
73 73 select {
... ...