Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
tbraun96 committed Apr 10, 2024
1 parent e4c935f commit 6f7c840
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,6 @@ pub async fn process_peer_cmd(
};

spawn!(task);
} else {
log::warn!(target: "citadel", "Vconn already removed");
}

session.send_to_kernel(NodeResult::PeerEvent(PeerEvent {
Expand Down
4 changes: 2 additions & 2 deletions citadel_sdk/src/test_common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,15 +155,15 @@ lazy_static::lazy_static! {
std::thread::sleep(Duration::from_secs(5));
let deadlocks = deadlock::check_deadlock();
if deadlocks.is_empty() {
log::error!(target: "citadel", "No deadlocks detected");
log::trace!(target: "citadel", "No deadlocks detected");
continue;
}

log::error!(target: "citadel", "{} deadlocks detected", deadlocks.len());
for (i, threads) in deadlocks.iter().enumerate() {
log::error!(target: "citadel", "Deadlock #{}", i);
for t in threads {
log::info!(target: "citadel", "Thread Id {:#?}", t.thread_id());
log::error!(target: "citadel", "Thread Id {:#?}", t.thread_id());
log::error!(target: "citadel", "{:#?}", t.backtrace());
}
}
Expand Down

0 comments on commit 6f7c840

Please sign in to comment.