From 2b197a8ad36cd932a1c56bffc25d44bb71638678 Mon Sep 17 00:00:00 2001 From: Gabriel Gordon-Hall Date: Mon, 18 Dec 2023 10:29:33 +0000 Subject: [PATCH] tweak rlimits (#1181) --- apps/desktop/src-tauri/src/qdrant.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/desktop/src-tauri/src/qdrant.rs b/apps/desktop/src-tauri/src/qdrant.rs index 367f9afc9a..edffa7acd5 100644 --- a/apps/desktop/src-tauri/src/qdrant.rs +++ b/apps/desktop/src-tauri/src/qdrant.rs @@ -135,7 +135,7 @@ fn run_command(command: &Path, qdrant_dir: &Path, stdout: &Path, stderr: &Path) let stderr_logs_file = File::create(stderr).unwrap(); match getrlimit(Resource::RLIMIT_NOFILE) { - Ok((current_soft, current_hard)) if current_hard < 2048 => { + Ok((current_soft, current_hard)) if current_hard < 10000 => { if let Err(err) = setrlimit(Resource::RLIMIT_NOFILE, 10000, 10000) { error!( ?err,