Skip to content

Commit b3128ce

Browse files
committed
tfsched: single process per partition
1 parent 3c111d9 commit b3128ce

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/TfScheduler/TfSchedulerDevice.cxx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ bool TfSchedulerDevice::ConditionalRun()
9090
return true;
9191
}
9292

93-
9493
void TfSchedulerDevice::TfSchedulerServiceThread()
9594
{
9695
// wait for the device to go into RUNNING state
@@ -112,7 +111,7 @@ void TfSchedulerDevice::TfSchedulerServiceThread()
112111
auto [lNewInstIt, lEmplaced ] = mSchedulerInstances.emplace(
113112
lNewPartitionRequest.mPartitionId,
114113
std::make_unique<TfSchedulerInstanceHandler>(*this,
115-
mDiscoveryConfig->status().info().process_id() + "-" + lNewPartitionRequest.mPartitionId,
114+
std::string("0"), // TODO: add multiple schedulers
116115
lNewPartitionRequest
117116
) // value
118117
);

0 commit comments

Comments
 (0)