Skip to content

Commit

Permalink
Add throttle info to container info set
Browse files Browse the repository at this point in the history
  • Loading branch information
pwojcikdev committed Nov 27, 2023
1 parent bba89c3 commit 876c91b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nano/node/bootstrap_ascending/service.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,8 @@ std::unique_ptr<nano::container_info_component> nano::bootstrap_ascending::servi

auto composite = std::make_unique<container_info_composite> (name);
composite->add_component (std::make_unique<container_info_leaf> (container_info{ "tags", tags.size (), sizeof (decltype (tags)::value_type) }));
composite->add_component (std::make_unique<container_info_leaf> (container_info{ "throttle", throttle.size (), 0 }));
composite->add_component (std::make_unique<container_info_leaf> (container_info{ "throttle_successes", throttle.successes (), 0 }));
composite->add_component (accounts.collect_container_info ("accounts"));
return composite;
}

0 comments on commit 876c91b

Please sign in to comment.