mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 04:09:23 +00:00
Comment the insanely aggressive timeout future trace log
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user