Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
doc: os.uptime() temporary bug notice
Rewording

Co-authored-by: Benjamin Gruenbaum <[email protected]>
  • Loading branch information
schamberg97 and benjamingr authored Dec 14, 2020
commit 9a8cd944e8a2f36ef99871705e68420691abe2f1
2 changes: 1 addition & 1 deletion doc/api/os.md
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ changes:

Returns the system uptime in number of seconds.

Please be aware that the value returned can be inaccurate in some
The value returned can be inaccurate in some
rare virtualization cases. The issue arises when the virtualized
guest instance shares the kernel with the host system due to a bug
in libuv. `os.uptime()` may thus provide the host's uptime instead of guest's.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The way this sentence is worded it implies that the bug in libuv is what is responsible for the guest instance sharing the kernel with the host system.

Expand Down