diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2021-04-13 16:24:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-13 10:24:45 -0400 |
commit | d46b37f6a8639e25ff54ea1e264cc7cebdd03be9 (patch) | |
tree | a6db53645ea981501acc1a977e40762beb45796c /op_crates/websocket | |
parent | df49a8462caf1cf4eea5c9f386322dae5e14dc4f (diff) |
feat(cli): raise file descriptor limit on startup (#10162)
Raise the soft limit to the hard limit when possible. This is similar
to what Node.js does to avoid running into "out of file descriptors"
errors too quickly.
On most Linux systems, raises the limit from 1,024 to 1,048,576.
On most macOS systems, raises the limit from 256 to 10,240.
Fixes #10148.
Diffstat (limited to 'op_crates/websocket')
0 files changed, 0 insertions, 0 deletions