Skip to content

Commit

Permalink
fixed variabe name
Browse files Browse the repository at this point in the history
  • Loading branch information
Raghav Rawat committed Dec 5, 2024
1 parent 7f7e89a commit c293a20
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/server/data_moniker_service.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ void DataMonikerService::RunSidebandReadWriteLoop(string sidebandIdentifier, ::S

cpu_set_t cpuSet;
CPU_ZERO(&cpuSet);
CPU_SET(s_SidebandReadWriteCore, &cpuSet);
CPU_SET(s_StreamingCoreConfig.sideband_read_write_core, &cpuSet);
sched_setaffinity(threadId, sizeof(cpu_set_t), &cpuSet);
}
#endif
Expand Down Expand Up @@ -177,7 +177,7 @@ Status DataMonikerService::BeginSidebandStream(ServerContext* context, const Beg
char identifier[32] = {};
InitOwnerSidebandData(strategy, bufferSize, identifier);
std::string identifierString(identifier);

response->set_strategy(request->strategy());
response->set_sideband_identifier(identifier);
response->set_connection_url(GetConnectionAddress(strategy));
Expand Down Expand Up @@ -251,7 +251,7 @@ Status DataMonikerService::StreamWrite(ServerContext* context, ServerReaderWrite
if(s_StreamingCoreConfig.stream_write_core >= 0) {
cpu_set_t cpuSet;
CPU_ZERO(&cpuSet);
CPU_SET(s_StreamWriteCore, &cpuSet);
CPU_SET(s_StreamingCoreConfig.stream_write_core, &cpuSet);
sched_setaffinity(0, sizeof(cpu_set_t), &cpuSet);
}
#endif
Expand Down

0 comments on commit c293a20

Please sign in to comment.