Преглед изворни кода

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

dasman пре 2 година
родитељ
комит
89afa62a4f
1 измењених фајлова са 1 додато и 0 уклоњено
  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
                             }