Explorar o código

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

dasman %!s(int64=2) %!d(string=hai) anos
pai
achega
89afa62a4f
Modificáronse 1 ficheiros con 1 adicións e 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
                             }