Skip to content

Commit

Permalink
Remove log line in purging the subscription tree
Browse files Browse the repository at this point in the history
It can be many of tens or hundreds of thousands of lines and only causes
extra CPU.
  • Loading branch information
halfgaar committed Dec 13, 2023
1 parent 1bb466c commit 2c6367a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions subscriptionstore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -814,11 +814,6 @@ int SubscriptionNode::cleanSubscriptions(std::deque<std::weak_ptr<SubscriptionNo
const size_t children_amount = children.size();
const bool split = children_amount > 15;

if (split)
{
Logger::getInstance()->log(LOG_INFO) << "Rebuilding subscription tree: leaf has " << children_amount << " children, so we're splitting up tree clean-up.";
}

int subscribersLeftInChildren = 0;
auto childrenIt = children.begin();
while(childrenIt != children.end())
Expand Down

0 comments on commit 2c6367a

Please sign in to comment.