Explorar o código

event_graph: minor debug log ms instead of s

dasman %!s(int64=2) %!d(string=hai) anos
pai
achega
a317092cb6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/event_graph/mod.rs

+ 1 - 1
src/event_graph/mod.rs

@@ -525,7 +525,7 @@ impl EventGraph {
             // Sleep until it's time to rotate.
             // Sleep until it's time to rotate.
             let s = millis_until_next_rotation(next_rotation);
             let s = millis_until_next_rotation(next_rotation);
 
 
-            debug!(target: "event_graph::dag_prune_task()", "Sleeping {}s until next DAG prune", s);
+            debug!(target: "event_graph::dag_prune_task()", "Sleeping {}ms until next DAG prune", s);
             msleep(s).await;
             msleep(s).await;
             debug!(target: "event_graph::dag_prune_task()", "Rotation period reached");
             debug!(target: "event_graph::dag_prune_task()", "Rotation period reached");