UV_USE_IO_URING=value


在支持的平台上启用或禁用 libuv 对 io_uring 的使用。

🌐 Enable or disable libuv's use of io_uring on supported platforms.

在支持的平台上,io_uring 可以显著提升各种异步 I/O 操作的性能。

🌐 On supported platforms, io_uring can significantly improve the performance of various asynchronous I/O operations.

io_uring 默认情况下由于安全问题被禁用。当启用 io_uring 时,应用在运行时不得更改进程的用户身份。在这种情况下,JavaScript 函数如 process.setuid() 不可用,本地插件也不得调用系统函数如 setuid(2)

此环境变量由 Node.js 的一个依赖实现,可能会在未来的 Node.js 版本中被移除。对于此环境变量的行为不提供任何稳定性保证。

🌐 This environment variable is implemented by a dependency of Node.js and may be removed in future versions of Node.js. No stability guarantees are provided for the behavior of this environment variable.