Skip to content

Commit 224faa0

Browse 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 <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent f2ffaba commit 224faa0

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

doc/api/os.md

-12
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)