add lastUpdate to candle and max
This commit is contained in:
parent
49b7411728
commit
9742ded5b3
@ -215,6 +215,7 @@ func (candle *Candle) PushToWriteLogChan(cr *Core) error {
|
||||
ncd, _ := candle.ToStruct(cr)
|
||||
fmt.Println("ncd: ", ncd)
|
||||
cd, _ := json.Marshal(ncd)
|
||||
candle = ncd
|
||||
wg := WriteLog{
|
||||
Content: cd,
|
||||
Tag: "sardine.log.candle." + candle.Period,
|
||||
|
Loading…
x
Reference in New Issue
Block a user