Procházet zdrojové kódy

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

dasman před 2 roky
rodič
revize
89afa62a4f
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  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
                             }