We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c0fab46 commit 7ded56eCopy full SHA for 7ded56e
1 file changed
gr25/test.go
@@ -68,7 +68,7 @@ func RunTests(run model.Run, mqttClient *mq.Client, db *gorm.DB) {
68
}
69
70
func (m MessageTest) Run(run model.Run, mqttClient *mq.Client, db *gorm.DB) bool {
71
- timestamp := time.Now().UnixMilli()
+ timestamp := time.Now().UnixMicro()
72
// Create byte array to hold timestamp (8 bytes) + uploadKey (2 bytes) + data
73
result := make([]byte, 10+len(m.Data))
74
binary.BigEndian.PutUint64(result[0:8], uint64(timestamp))
0 commit comments