Skip to content

Commit

Permalink
Merge pull request #4 from x-qdo/increase_granularity
Browse files Browse the repository at this point in the history
Increase metrics granularity to determine sessions switch
  • Loading branch information
kuzaxak committed Feb 21, 2023
2 parents 695043d + 9c74934 commit 029f232
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/tty/option.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"github.com/x-qdo/qudosh/packages/ttyrec"
)

const MetricsInterval = 10 * time.Second
const MetricsInterval = 1 * time.Second

func makeTimestamp() int64 {
return time.Now().UnixNano() / int64(time.Microsecond)
Expand Down

0 comments on commit 029f232

Please sign in to comment.