Skip to content

Commit

Permalink
fix: 修复Measurement表中的dt字段错误被赋值为微秒的问题,实际为毫秒
Browse files Browse the repository at this point in the history
  • Loading branch information
koch3092 committed Sep 15, 2022
1 parent 368290c commit 34421f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion initialize/message_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ ProcessMessage:
mes := &model.Measurement{
TdMetricBase: tdMetricBase,
MetricsBase: &model.MetricsBase{
Dt: uint64(time.Now().UnixMicro()),
Dt: uint64(time.Now().UnixMilli()),
MetricType: dataType.LatestDataType,
MetricNo: "",
FieldName: "",
Expand Down

0 comments on commit 34421f7

Please sign in to comment.