We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5da0c5 commit 2a3cc16Copy full SHA for 2a3cc16
crates/humanode-peer/src/cli/init.rs
@@ -38,7 +38,7 @@ const RECOMMENDED_OPEN_FILE_DESCRIPTOR_LIMIT: u64 = 10_000;
38
/// We require a substantial amount of fds for the networking, so raise it, and report if the raised
39
/// limit is still way too low.
40
pub fn raise_fd_limit() {
41
- if let Some(new_limit) = fdlimit::raise_fd_limit() {
+ if let Ok(new_limit) = fdlimit::raise_fd_limit() {
42
if new_limit < RECOMMENDED_OPEN_FILE_DESCRIPTOR_LIMIT {
43
tracing::warn!(
44
"Low open file descriptor limit configured for the process. \
0 commit comments