mirror of
https://github.com/serai-dex/serai.git
synced 2025-01-04 01:49:41 +00:00
Comment the insanely aggressive timeout future trace log
This commit is contained in:
parent
5a3ea80943
commit
749d783b1e
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue