Browse Source

Merge branch 'feature/v1.0.7_ws' of moapp/jypkg into feature/v1.0.7

wangshan 1 năm trước cách đây
mục cha
commit
dada8fc84e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      common/src/qfw/util/jy/nsq.go

+ 1 - 1
common/src/qfw/util/jy/nsq.go

@@ -53,7 +53,7 @@ func Publish(mg MongodbSim, ip, topicName, e_code, e_userid, e_app string, body
 		fmt.Println("errr2:", err)
 	}
 	producer.Stop()
-	saveLog(mg, topicName, *msg)
+	go saveLog(mg, topicName, *msg)
 	return err
 }