more log
This commit is contained in:
1 parent
8866360e59
commit
9827d1cd8c
2 files changed
+3
-1
No files matched your search
+1
-1
@@ -25,7 +25,7 @@ pub const DEFAULT_PORT: &'static str = "21117";
|
||||
#[tokio::main(basic_scheduler)]
|
||||
pub async fn start(port: &str, license: &str, stop: Arc<Mutex<bool>>) -> ResultType<()> {
|
||||
let addr = format!("0.0.0.0:{}", port);
|
||||
log::info!("Listening on {}", addr);
|
||||
log::info!("Listening on tcp {}", addr);
|
||||
let mut timer = interval(Duration::from_millis(300));
|
||||
let mut listener = new_listener(addr, false).await?;
|
||||
loop {
|
||||
|
||||
Reference in new issue
Block a user