Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 224faa0

Browse filesBrowse files
committed
Revert "doc: os.uptime() temporary bug notice"
This reverts commit b9ffb82. The bug was fixed in libuv 1.41.0. Refs: libuv/libuv#3072 PR-URL: #38494 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent f2ffaba commit 224faa0
Copy full SHA for 224faa0

File tree

Expand file treeCollapse file tree

1 file changed

+0
-12
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-12
lines changed
Open diff view settings
Collapse file

‎doc/api/os.md‎

Copy file name to clipboardExpand all lines: doc/api/os.md
-12Lines changed: 0 additions & 12 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -368,18 +368,6 @@ changes:
368368

369369
Returns the system uptime in number of seconds.
370370

371-
The value returned can be inaccurate in some
372-
rare virtualization cases. The issue arises when the virtualized
373-
guest instance shares the kernel with the host system.
374-
Due to the fact that libuv uses a syscall that
375-
provides host's uptime instead of guest's
376-
uptime on OpenVZ, `os.uptime()` may also provide
377-
erroneous result.
378-
379-
Please refer to <https://github.com/nodejs/node/issues/36244> and
380-
<https://github.com/libuv/libuv/issues/3068> for an exploration of
381-
this issue, until it is resolved by libuv.
382-
383371
## `os.userInfo([options])`
384372
<!-- YAML
385373
added: v6.0.0

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.