Skip to content

Commit

Permalink
removed hack (hopefully no longer needed)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriele Oliaro committed Jan 12, 2021
1 parent 3e8e28f commit 99d0e7c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/ray/core_worker/core_worker.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2235,9 +2235,6 @@ void CoreWorker::HandleCancelTask(const rpc::CancelTaskRequest &request,
}
}

// TODO: fix race condition to avoid using this hack
requested_task_running = main_thread_task_id_ == task_id;

reply->set_attempt_succeeded(success);
send_reply_callback(Status::OK(), nullptr, nullptr);

Expand Down

0 comments on commit 99d0e7c

Please sign in to comment.