Fix job resuming/pausing and cancelling (#1035)

why this works?
This commit is contained in:
Utku authored and GitHub committed 2023-06-27 19:26:59 +00:00
1 parent 06de379169
commit bc100f2505
1 file changed
+1 -1
+1 -1
View File
@@ -119,7 +119,7 @@ impl JobManager {
if running_workers.len() < MAX_WORKERS {
info!("Running job: {:?}", job.name());
let worker_id = job_report.id;
let worker_id = job_report.parent_id.unwrap_or(job_report.id);
Worker::new(worker_id, job, job_report, library.clone(), self.clone())
.await