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

bin/ircd: don't need to wait for outbound connections

ghassmo пре 3 година
родитељ
комит
3046b9023c
1 измењених фајлова са 0 додато и 2 уклоњено
  1. 0 2
      bin/ircd/src/main.rs

+ 0 - 2
bin/ircd/src/main.rs

@@ -157,8 +157,6 @@ async fn realmain(settings: Args, executor: Arc<Executor<'_>>) -> Result<()> {
     let executor_cloned = executor.clone();
     let executor_cloned = executor.clone();
     executor_cloned.spawn(p2p.clone().run(executor.clone())).detach();
     executor_cloned.spawn(p2p.clone().run(executor.clone())).detach();
 
 
-    p2p.clone().wait_for_outbound(executor.clone()).await?;
-
     //
     //
     // RPC interface
     // RPC interface
     //
     //