mirror of
https://github.com/wassname/ray.git
synced 2026-09-09 11:32:43 +08:00
Fix overriden typo (#11227)
This commit is contained in:
@@ -349,9 +349,9 @@ void TaskDependencyManager::TaskPending(const Task &task) {
|
||||
// For direct actor creation task:
|
||||
// - when it's submitted by core worker, we guarantee that
|
||||
// we always request a new worker lease, in that case
|
||||
// `OnDispatch` is overriden to an actual callback.
|
||||
// `OnDispatch` is overridden to an actual callback.
|
||||
// - when it's resubmitted by raylet because of reconstruction,
|
||||
// `OnDispatch` will not be overriden and thus is nullptr.
|
||||
// `OnDispatch` will not be overridden and thus is nullptr.
|
||||
if (task.GetTaskSpecification().IsActorCreationTask() && task.OnDispatch() == nullptr) {
|
||||
// This is an actor creation task, and it's being restarted,
|
||||
// in this case we still need the task lease. Note that we don't
|
||||
|
||||
Reference in New Issue
Block a user