Skip to content

Commit

Permalink
added todo for root_task errors propagation, #13
Browse files Browse the repository at this point in the history
(need to figure out a nice non hackish way)
  • Loading branch information
let4be committed Jun 29, 2021
1 parent 92ba94f commit 395fcdc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions main/src/task_scheduler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,11 @@ impl<JS: JobStateValues, TS: TaskStateValues, P: ParsedDocument> TaskScheduler<J
self.schedule(Arc::new(task));
}

// TODO: figure a nice way to propagate errors in root tasks to Job Finished status
/*if self.pages_pending < 1 && task_response.task.is_root() {
}*/

let _ = self.update_tx.send_async(task_response).await;
}

Expand Down

0 comments on commit 395fcdc

Please sign in to comment.