Comment the insanely aggressive timeout future trace log

This commit is contained in:
Luke Parker 2024-04-21 08:53:35 -04:00
parent 5a3ea80943
commit 749d783b1e
No known key found for this signature in database

View file

@ -58,12 +58,14 @@ impl<N: Network> RoundData<N> {
// Poll all set timeouts, returning the Step whose timeout has just expired
pub(crate) async fn timeout_future(&self) -> Step {
let now = Instant::now();
/*
log::trace!(
target: "tendermint",
"getting timeout_future, from step {:?}, off timeouts: {:?}",
self.step,
self.timeouts.iter().map(|(k, v)| (k, v.duration_since(now))).collect::<HashMap<_, _>>()
);
*/
let timeout_future = |step| {
let timeout = self.timeouts.get(&step).copied();