Skip to content

Commit 3f17c9d

Browse files
committed
refactor: set packet interval in ms
1 parent 9539e68 commit 3f17c9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/telemetrysrc/file.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414

1515
var packetHeader = []byte{0x30, 0x53, 0x37, 0x47}
1616

17-
const packetInterval = (1000 * (1000 / 60)) * time.Microsecond
17+
const packetInterval = (1000 / 60) * time.Millisecond
1818

1919
type FileReader struct {
2020
fileContent *bufio.Scanner

0 commit comments

Comments
 (0)