Skip to content
Merged
Changes from 1 commit
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: 0 additions & 2 deletions polkadot/node/core/pvf/src/execute/queue.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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");

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could also make this a trace to get less noise.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But if you are 100% sure we never need to debug this in prod, I guess it's fine

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, we could downgrade this or move to a separate log-target for "extra" details, maybe it will come in handy in the future, up to you 🙏

}

fn insert_active_leaf(&mut self, update: ActiveLeavesUpdate, ancestors: Vec<Hash>) {
Expand Down