Skip to content

Commit 7ded56e

Browse files
committed
update timestamping to micros
1 parent c0fab46 commit 7ded56e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

gr25/test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ func RunTests(run model.Run, mqttClient *mq.Client, db *gorm.DB) {
6868
}
6969

7070
func (m MessageTest) Run(run model.Run, mqttClient *mq.Client, db *gorm.DB) bool {
71-
timestamp := time.Now().UnixMilli()
71+
timestamp := time.Now().UnixMicro()
7272
// Create byte array to hold timestamp (8 bytes) + uploadKey (2 bytes) + data
7373
result := make([]byte, 10+len(m.Data))
7474
binary.BigEndian.PutUint64(result[0:8], uint64(timestamp))

0 commit comments

Comments
 (0)