feat: attempt to SIGTERM before SIGKILL for bash

This commit is contained in:
Ruben Fiszel
2023-09-11 18:55:19 +02:00
parent a836c6266b
commit f40bbba519
11 changed files with 57 additions and 3 deletions
@@ -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!(