test
This commit is contained in:
parent
7069559121
commit
3b10ec6222
|
@ -62,7 +62,7 @@ func WriteOrder() {
|
|||
return
|
||||
}
|
||||
// 创建价格分组
|
||||
var queue_nos = [...]int{-1, 10, 20, 50, 100, 1000, 10210, 10220, 10250, 102100, 1021000}
|
||||
var queue_nos = [...]int{-1, 10, 20, 50, 100, 1000, 102, 10210, 10220, 10250, 102100, 1021000}
|
||||
for _, value := range queue_nos {
|
||||
err = rdbmq.CreateStreamAndGroup(fmt.Sprintf("orders_%d", value), fmt.Sprintf("orders_%d", value))
|
||||
if err != nil && err.Error() != "BUSYGROUP Consumer Group name already exists" {
|
||||
|
|
Loading…
Reference in New Issue