Commit a280fbcd by 孙龙

init

parent 5704757e
Showing with 1 additions and 1 deletions
......@@ -81,7 +81,7 @@ func main() {
for{
var wg sync.WaitGroup
fmt.Println("开始执行任务....")
for i := 0;i<2;i++{
for i := 0;i<3;i++{
wg.Add(1)
go func(wg *sync.WaitGroup){
mq := rabbitmq.New(queueExchange)
......
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