summaryrefslogtreecommitdiff
path: root/src/client/main.rs
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2025-09-12 23:33:54 +0800
committerlittleblack111 <littleblack11111@gmail.com>2025-09-12 23:33:54 +0800
commit40099749a6b264593ad54032411f02df9967790c (patch)
tree6ead79fd2c8930db1a64b80e40aa611f440dca8b /src/client/main.rs
parentbc6b38c1b627c6dcdd50896ded4148dd6e0734ba (diff)
refactor: don't use concurrency, single threaded for now
Diffstat (limited to 'src/client/main.rs')
-rw-r--r--src/client/main.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/main.rs b/src/client/main.rs
index 4ef7a9b..cada2f8 100644
--- a/src/client/main.rs
+++ b/src/client/main.rs
@@ -4,9 +4,10 @@ use std::thread;
use crate::connector::{connectors::httpconnector::HTTPConnector, manager::ConnectorManager};
mod connector;
+mod executor;
fn main() {
- ConnectorManager::new(HTTPConnector::new("https://example.com").unwrap()).start();
+ ConnectorManager::new(HTTPConnector::new("https://example.com").unwrap()).enter_loop();
thread::park();
}