排查2D周期sortedSet周期间隔不统一的问题
This commit is contained in:
parent
ffc18606c4
commit
9e3bc61fc2
@ -193,7 +193,7 @@ func (core *Core) SaveCandle(instId string, period string, rsp *CandleData, dura
|
|||||||
}
|
}
|
||||||
sv, _ := json.Marshal(v)
|
sv, _ := json.Marshal(v)
|
||||||
json.Unmarshal(sv, &cs)
|
json.Unmarshal(sv, &cs)
|
||||||
logrus.Warn("fetch segments2:", cs)
|
logrus.Warn("fetch segments2: cs.Seg", cs.Seg, ", period:", period)
|
||||||
|
|
||||||
if cs.Seg == period {
|
if cs.Seg == period {
|
||||||
curSegStartTime = cs.StartTime
|
curSegStartTime = cs.StartTime
|
||||||
|
Loading…
x
Reference in New Issue
Block a user