diff --git a/backend/windmill-worker/src/common.rs b/backend/windmill-worker/src/common.rs index 65c5ce4bfd..bf56634e2a 100644 --- a/backend/windmill-worker/src/common.rs +++ b/backend/windmill-worker/src/common.rs @@ -471,7 +471,7 @@ pub async fn handle_child( let write_logs_delay = Duration::from_millis(500); let pid = child.id(); - #[cfg(any(target_os = "linux", target_os = "macos"))] + #[cfg(target_os = "linux")] if let Some(pid) = pid { //set the highest oom priority let mut file = File::create(format!("/proc/{pid}/oom_score_adj")).await?;