mirror of
https://github.com/wassname/ray.git
synced 2026-07-23 13:10:11 +08:00
[hotfix] Fix windows build (#12146)
* [hotfix] fix windows * remove debug logs
This commit is contained in:
@@ -460,11 +460,8 @@ std::vector<TaskID> TaskManager::GetPendingChildrenTasks(
|
||||
const TaskID &parent_task_id) const {
|
||||
std::vector<TaskID> ret_vec;
|
||||
absl::MutexLock lock(&mu_);
|
||||
RAY_LOG(ERROR) << " calling get children tasks";
|
||||
RAY_LOG(ERROR) << "NUMBER OF PENDING TASKS: " << num_pending_tasks_;
|
||||
for (auto it : submissible_tasks_) {
|
||||
RAY_LOG(ERROR) << "Getting tasks!! " << it.second.spec.TaskId();
|
||||
if (it.second.pending and it.second.spec.ParentTaskId() == parent_task_id) {
|
||||
if ((it.second.pending) && (it.second.spec.ParentTaskId() == parent_task_id)) {
|
||||
ret_vec.push_back(it.first);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user