Skip to content

Commit

Permalink
fix(rclcpp_components): increase the service queue sizes in component…
Browse files Browse the repository at this point in the history
…_container (ros2#2363)

* fix(rclcpp_components): increase the service queue sizes in component_container

Signed-off-by: M. Fatih Cırıt <[email protected]>
Signed-off-by: Oren Bell <[email protected]>
  • Loading branch information
xmfcx authored and nightduck committed Jan 25, 2024
1 parent e7864cd commit 055a89b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions rclcpp_components/src/component_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,12 @@ ComponentManager::ComponentManager(
{
loadNode_srv_ = create_service<LoadNode>(
"~/_container/load_node",
std::bind(&ComponentManager::on_load_node, this, _1, _2, _3));
std::bind(&ComponentManager::on_load_node, this, _1, _2, _3),
rclcpp::ServicesQoS().keep_last(200));
unloadNode_srv_ = create_service<UnloadNode>(
"~/_container/unload_node",
std::bind(&ComponentManager::on_unload_node, this, _1, _2, _3));
std::bind(&ComponentManager::on_unload_node, this, _1, _2, _3),
rclcpp::ServicesQoS().keep_last(200));
listNodes_srv_ = create_service<ListNodes>(
"~/_container/list_nodes",
std::bind(&ComponentManager::on_list_nodes, this, _1, _2, _3));
Expand Down

0 comments on commit 055a89b

Please sign in to comment.