Skip to content

Commit

Permalink
Set log level for fat client record prunning to trace
Browse files Browse the repository at this point in the history
  • Loading branch information
aterentic-ethernal committed Nov 5, 2024
1 parent e05af07 commit b981172
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/network/p2p/event_loop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ impl EventLoop {
| kad::PutRecordError::Timeout { key, .. } => {
// Remove local records for fat clients (memory optimization)
if self.event_loop_config.is_fat_client {
debug!("Pruning local records on fat client");
trace!("Pruning local records on fat client");
self.swarm.behaviour_mut().kademlia.remove_record(&key);
}

Expand All @@ -328,7 +328,7 @@ impl EventLoop {
QueryResult::PutRecord(Ok(PutRecordOk { key })) => {
// Remove local records for fat clients (memory optimization)
if self.event_loop_config.is_fat_client {
debug!("Pruning local records on fat client");
trace!("Pruning local records on fat client");
self.swarm.behaviour_mut().kademlia.remove_record(&key);
}

Expand Down

0 comments on commit b981172

Please sign in to comment.