Commit 55efba5a by huangchengyi

1.0

parent 27f0c4a2
Showing with 3 additions and 3 deletions
package controller package controller
import ( import (
"fmt"
"github.com/gin-gonic/gin" "github.com/gin-gonic/gin"
"github.com/syyongx/php2go" "github.com/syyongx/php2go"
"go_sku_server/pkg/common" "go_sku_server/pkg/common"
"go_sku_server/pkg/logger"
"go_sku_server/service" "go_sku_server/service"
"sync" "sync"
"time" "time"
...@@ -104,8 +104,8 @@ func Synchronization(ctx *gin.Context) { ...@@ -104,8 +104,8 @@ func Synchronization(ctx *gin.Context) {
return true return true
}) })
case <- time.After(time.Second *2): case <- time.After(time.Second *4):
fmt.Println("read time out") logger.Log("协程超时","sku",1)
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment