尝试关掉InvokeCandle,观察是否对insertPlate以及整体性能有影响
This commit is contained in:
parent
4a736d2b66
commit
0dc5e87feb
@ -462,9 +462,9 @@ func MakeMaX(cr *core.Core, cl *core.Candle, count int) (error, int) {
|
|||||||
// cdl, err := cr.GetLastCandleListOfCoin(cl.InstID, cl.Period, count, lastTime)
|
// cdl, err := cr.GetLastCandleListOfCoin(cl.InstID, cl.Period, count, lastTime)
|
||||||
cdl, err := GetRangeCandleSortedSet(cr, setName, count, lastTime)
|
cdl, err := GetRangeCandleSortedSet(cr, setName, count, lastTime)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
to, _ := cr.PeriodToMinutes(cl.Period)
|
// to, _ := cr.PeriodToMinutes(cl.Period)
|
||||||
to = tsi + to*ToInt64(count)
|
// to = tsi + to*ToInt64(count)
|
||||||
InvokeCandle(cr, cl.InstID, cl.Period, tsi, to)
|
// InvokeCandle(cr, cl.InstID, cl.Period, tsi, to)
|
||||||
return err, 0
|
return err, 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user