Sfoglia il codice sorgente

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

dasman 2 anni fa
parent
commit
89afa62a4f
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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
                             }