1
0

bug fixes

This commit is contained in:
EAimTY 2023-03-04 19:45:42 +09:00
parent 7a94058e36
commit 089af00d4a
2 changed files with 2 additions and 1 deletions

View File

@ -171,7 +171,7 @@ impl Endpoint {
match res { match res {
Ok(conn) => { Ok(conn) => {
log::info!("[connection] established"); log::info!("[connection] connection established");
tokio::spawn(conn.clone().init( tokio::spawn(conn.clone().init(
self.heartbeat, self.heartbeat,
self.gc_interval, self.gc_interval,

View File

@ -32,6 +32,7 @@ async fn main() {
LoggerBuilder::new() LoggerBuilder::new()
.filter_level(cfg.log_level) .filter_level(cfg.log_level)
.format_module_path(false) .format_module_path(false)
.format_target(false)
.init(); .init();
match Endpoint::set_config(cfg.relay) { match Endpoint::set_config(cfg.relay) {