From 9faa87483fe24cddfa2767e5d9ec8176061baeed Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Thu, 6 Feb 2025 00:49:45 +0100 Subject: [PATCH] delete proto file after install --- backend/windmill-worker/src/python_executor.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/backend/windmill-worker/src/python_executor.rs b/backend/windmill-worker/src/python_executor.rs index b25575e0cf..6c70035036 100644 --- a/backend/windmill-worker/src/python_executor.rs +++ b/backend/windmill-worker/src/python_executor.rs @@ -2333,6 +2333,10 @@ pub async fn handle_python_reqs( #[cfg(not(all(feature = "enterprise", feature = "parquet", unix)))] let s3_push = false; + if !*DISABLE_NSJAIL { + let _ = std::fs::remove_file(format!("{job_dir}/{req}.config.proto")); + } + print_success( false, s3_push,