mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-20 08:01:35 +00:00
feat: attempt to SIGTERM before SIGKILL for bash
This commit is contained in:
@@ -143,6 +143,7 @@ pub async fn pip_compile(
|
||||
&w_id,
|
||||
"pip-compile",
|
||||
None,
|
||||
false,
|
||||
)
|
||||
.await
|
||||
.map_err(|e| Error::ExecutionErr(format!("Lock file generation failed: {e:?}")))?;
|
||||
@@ -478,6 +479,7 @@ mount {{
|
||||
&job.workspace_id,
|
||||
"python run",
|
||||
job.timeout,
|
||||
false,
|
||||
)
|
||||
.await?;
|
||||
read_result(job_dir).await
|
||||
@@ -637,6 +639,7 @@ pub async fn handle_python_reqs(
|
||||
&w_id,
|
||||
&format!("pip install {req}"),
|
||||
None,
|
||||
false,
|
||||
)
|
||||
.await;
|
||||
tracing::info!(
|
||||
|
||||
Reference in New Issue
Block a user