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