Kaynağa Gözat

Track daily number of users requesting invites

Vecna 4 ay önce
ebeveyn
işleme
bfefb496b9
1 değiştirilmiş dosya ile 9 ekleme ve 0 silme
  1. 9 0
      src/main.rs

+ 9 - 0
src/main.rs

@@ -165,6 +165,10 @@ pub async fn main() {
         let mut count_users_cannot_connect = 0;
 
         println!("Starting day {} of the simulation", day);
+        println!(
+            "    {} prospective users want to join",
+            num_users_requesting_invites
+        );
         println!(
             "    We have {} users and {} bridges",
             users.len(),
@@ -493,4 +497,9 @@ pub async fn main() {
         println!("{},{}", start_date + i as u32, percent_users_can_connect[i]);
     }
     println!("End percent of users who can connect per day");
+
+    println!(
+        "\n{} users were unable to join at all.",
+        num_users_requesting_invites
+    );
 }