From 3c0344ef64514d4b11595f15fb551773a9d6f397 Mon Sep 17 00:00:00 2001 From: Alex Emmet <111742636+Alex-Emmet@users.noreply.github.com> Date: Tue, 11 Nov 2025 21:48:22 +0000 Subject: [PATCH] i merged wrong :D --- src/main.rs | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/src/main.rs b/src/main.rs index a0aa1f1..035a6be 100644 --- a/src/main.rs +++ b/src/main.rs @@ -5,10 +5,7 @@ mod omega; mod rho; mod util; -<<<<<<< HEAD use async_tungstenite::accept_hdr_async; -======= ->>>>>>> db419d3b4775949255dd2a89fbd782d15c02293e use futures::StreamExt; use std::{sync::Arc, time::Duration}; use tokio::net::TcpListener; @@ -26,7 +23,6 @@ use crate::{ util::print::{PrintType, line, line_err, print_start_message}, }; -<<<<<<< HEAD #[tokio::main] async fn main() { print_start_message(); @@ -36,16 +32,7 @@ async fn main() { }); let address = format!("{}:{}", &CONFIG.read().await.ip, &CONFIG.read().await.port); let listener = TcpListener::bind(&address).await.unwrap(); -======= -#[tokio::main(flavor = "multi_thread", worker_threads = 32)] -#[allow(unused_must_uscae, dead_code)] -async fn main() { - print_start_message(); - tokio::spawn(async move { - OmegaConnection::new().connect().await; - }); - let listener = TcpListener::bind("0.0.0.0:959").await.unwrap(); ->>>>>>> db419d3b4775949255dd2a89fbd782d15c02293e + line( PrintType::General, &format!("WebSocket server listening on {}", &address),