Skip to content
Snippets Groups Projects
Unverified Commit 5aeaa664 authored by Andrei Eres's avatar Andrei Eres Committed by GitHub
Browse files

Remove debug message about pruning active leaves (#6440)


# Description

The debug message was added to identify a potential memory leak.
However, recent observations show that pruning works as expected.
Therefore, it is best to remove this line, as it generates quite
annoying logs.


## Integration

Doesn't affect downstream projects.

---------

Co-authored-by: default avatarGitHub Action <action@github.com>
parent 0156ca8f
No related merge requests found
Pipeline #505433 waiting for manual action with stages
in 2 minutes and 33 seconds
......@@ -305,8 +305,6 @@ impl Queue {
for hash in &update.deactivated {
let _ = self.active_leaves.remove(&hash);
}
gum::debug!(target: LOG_TARGET, size = ?self.active_leaves.len(), "Active leaves pruned");
}
fn insert_active_leaf(&mut self, update: ActiveLeavesUpdate, ancestors: Vec<Hash>) {
......
title: Remove debug message about pruning active leaves
doc:
- audience: Node Dev
description: |-
Removed useless debug message
crates:
- name: polkadot-node-core-pvf
validate: false
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment