Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Framework/Core/src/ArrowSupport.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ o2::framework::ServiceSpec ArrowSupport::arrowBackendSpec()
if (availableSharedMemory < 1000) {
break;
}
size_t candidate = (lastDeviceOffered + di) % specs.size();
size_t candidate = (lastDeviceOffered + 1 + di) % specs.size();
if (specs[candidate].name != "internal-dpl-aod-reader") {
continue;
}
Expand Down
4 changes: 2 additions & 2 deletions Framework/Core/src/DeviceController.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ DeviceController::DeviceController(WSDPLHandler* handler)

void DeviceController::hello()
{
LOG(INFO) << "Saying hello";
LOG(debug) << "Saying hello";
std::vector<uv_buf_t> outputs;
encode_websocket_frames(outputs, "hello", strlen("hello"), WebSocketOpCode::Binary, 0);
mHandler->write(outputs);
}

void DeviceController::write(char const* message, size_t s)
{
LOGP(INFO, "Saying {} to device", message);
LOGP(debug, "Saying {} to device", message);
std::vector<uv_buf_t> outputs;
encode_websocket_frames(outputs, message, s, WebSocketOpCode::Binary, 0);
mHandler->write(outputs);
Expand Down
4 changes: 2 additions & 2 deletions Framework/GUISupport/src/FrameworkGUIDeviceInspector.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,8 @@ void displayDeviceInspector(DeviceSpec const& spec,
}
#endif
if (control.controller) {
if (ImGui::Button("Offer resources")) {
control.controller->write("/shm-mem 1000", strlen("/shm-mem 1000"));
if (ImGui::Button("Offer SHM")) {
control.controller->write("/shm-offer 1000", strlen("/shm-offer 1000"));
}
}

Expand Down