fix: memory optimization for flow with big args (#4019)
This commit is contained in:
@@ -1007,9 +1007,6 @@ pub async fn handle_python_reqs(
|
||||
Ok(req_paths)
|
||||
}
|
||||
|
||||
#[cfg(feature = "enterprise")]
|
||||
use std::sync::Arc;
|
||||
|
||||
#[cfg(feature = "enterprise")]
|
||||
use crate::JobCompletedSender;
|
||||
#[cfg(feature = "enterprise")]
|
||||
@@ -1032,7 +1029,7 @@ pub async fn start_worker(
|
||||
script_path: &str,
|
||||
token: &str,
|
||||
job_completed_tx: JobCompletedSender,
|
||||
jobs_rx: Receiver<Arc<QueuedJob>>,
|
||||
jobs_rx: Receiver<std::sync::Arc<QueuedJob>>,
|
||||
killpill_rx: tokio::sync::broadcast::Receiver<()>,
|
||||
) -> error::Result<()> {
|
||||
let mut mem_peak: i32 = 0;
|
||||
|
||||
Reference in New Issue
Block a user