Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix uptime calculation under Windows #126

Merged
merged 1 commit into from
Jul 15, 2019

Conversation

adriansr
Copy link

Uptime calculation under Windows was broken as it was interpreting the result of GetTickCount64 as a timestamp relative to UNIX epoch, but it's just an elapsed time in milliseconds.

Uptime calculation under Windows was broken as it was interpreting the
result of GetTickCount64 as a timestamp relative to UNIX epoch, but it's
just an elapsed time in milliseconds.
@adriansr adriansr merged commit f48d9dc into elastic:master Jul 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants