first pass of merging in warp (doesn't build)

This commit is contained in:
Ryan Ward
2026-07-01 16:08:58 -05:00
parent 2f64909469
commit 4770ac06b5
3662 changed files with 414574 additions and 89772 deletions
+2 -1
View File
@@ -9,7 +9,8 @@ pub fn adjust_resource_limits() {
/// normal usage of Warp for users who open lots of tabs.
const TARGET_FD_LIMIT: u64 = 2560;
use nix::sys::resource::{getrlimit, setrlimit, Resource::RLIMIT_NOFILE};
use nix::sys::resource::Resource::RLIMIT_NOFILE;
use nix::sys::resource::{getrlimit, setrlimit};
let (cur_limit, hard_limit) = match getrlimit(RLIMIT_NOFILE) {
Ok(val) => val,