Revert "doc: os.uptime() temporary bug notice"

This reverts commit b9ffb82f9b278c801556b96efece98b88d796077.

The bug was fixed in libuv 1.41.0.

Refs: https://github.com/libuv/libuv/pull/3072

PR-URL: https://github.com/nodejs/node/pull/38494
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
Michaël Zasso 2021-05-01 09:52:18 +02:00
parent d826f6bade
commit e2708ee491
No known key found for this signature in database
GPG Key ID: 770F7A9A5AE15600

View File

@ -368,18 +368,6 @@ changes:
Returns the system uptime in number of seconds.
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 the fact that libuv uses a syscall that
provides host's uptime instead of guest's
uptime on OpenVZ, `os.uptime()` may also provide
erroneous result.
Please refer to <https://github.com/nodejs/node/issues/36244> and
<https://github.com/libuv/libuv/issues/3068> for an exploration of
this issue, until it is resolved by libuv.
## `os.userInfo([options])`
<!-- YAML
added: v6.0.0