Bump MacOS nofile recommendation message

This commit is contained in:
Trent Nelson 2020-08-20 16:15:05 -06:00 committed by mergify[bot]
parent 747f8d5877
commit 8841c3398c
1 changed files with 4 additions and 1 deletions

View File

@ -3311,7 +3311,10 @@ fn adjust_ulimit_nofile() -> Result<()> {
);
if cfg!(target_os = "macos") {
error!("On mac OS you may need to run |sudo launchctl limit maxfiles 65536 200000| first");
error!(
"On mac OS you may need to run |sudo launchctl limit maxfiles {} {}| first",
desired_nofile, desired_nofile,
);
}
return Err(BlockstoreError::UnableToSetOpenFileDescriptorLimit);
}