排查 max 制作数量不够,声称不及时的问题
This commit is contained in:
parent
d735b7e330
commit
8888c52d1b
@ -74,7 +74,6 @@ func (cd *MyCandle) Process(cr *core.Core) {
|
||||
}
|
||||
// 根据低维度candle,模拟出"软"的高纬度candle
|
||||
if cad.Period == "1m" && makeSoft {
|
||||
fmt.Println("makeSoft:", cad.Period, cad.InstID)
|
||||
MakeSoftCandles(cr, cad)
|
||||
}
|
||||
}(cd)
|
||||
|
@ -237,7 +237,7 @@ func GetRangeCandleSortedSet(cr *core.Core, setName string, count int, from time
|
||||
}
|
||||
keyAry, err := cli.MGet(ary...).Result()
|
||||
if err != nil || len(keyAry) == 0 {
|
||||
logrus.Warning("no record with cmd: ZRevRangeByScore ", setName, froms, sts, " ", err.Error())
|
||||
logrus.Warning("no record with cmd: ZRevRangeByScore ", "setName: ", setName, " from: ", froms, " sts: ", sts, " err:", err.Error())
|
||||
logrus.Warning("zrev lens of ary: lens: ", len(ary), "GetRangeSortedSet ZRevRangeByScore:", "setName:", setName, " opt.Max:", opt.Max, " opt.Min:", opt.Min)
|
||||
return &cdl, err
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user