reuse port, and revert hbbr -k
This commit is contained in:
1 parent
a22dacce0c
commit
5078a1f797
7 files changed
+20
-8
No files matched your search
+1
-1
@@ -85,7 +85,7 @@ pub async fn start(port: &str, key: &str) -> ResultType<()> {
|
||||
let main_task = async move {
|
||||
loop {
|
||||
log::info!("Start");
|
||||
io_loop(listen_any(port).await?, listen_any(port2).await?, &key).await;
|
||||
io_loop(listen_any(port, true).await?, listen_any(port2, true).await?, &key).await;
|
||||
}
|
||||
};
|
||||
let listen_signal = crate::common::listen_signal();
|
||||
|
||||
Reference in new issue
Block a user