Explorar el Código

darkirc: add a debug msg when if dag not synced and skipping

dasman hace 2 años
padre
commit
89afa62a4f
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      bin/darkirc/src/irc/client.rs

+ 1 - 0
bin/darkirc/src/irc/client.rs

@@ -175,6 +175,7 @@ impl Client {
                             // If the DAG is not synced yet, queue client lines
                             // Once synced, send queued lines and continue as normal
                             if !*self.server.darkirc.event_graph.synced.read().await{
+                                debug!("DAG is still syncing, queuing and skipping...");
                                 event_queue.push_back(event);
                                 continue
                             }