fix(logs): remove instrument because it was just spamming logs
Some checks failed
Build and Test / build-editions (minecraft-wiiu) (push) Failing after 40s
Build and Test / build-editions (mario-tennis) (push) Failing after 51s
Build and Test / build-editions (fast-racing-neo) (push) Failing after 59s
Build and Test / build-editions (terraria) (push) Failing after 1m1s
Build and Test / build-editions (splatoon-testfire) (push) Failing after 1m5s
Build and Test / build-editions (splatoon) (push) Failing after 1m4s
Build and Test / build-editions (DATABASE_SMM, super-mario-maker) (push) Failing after 1m12s
Build and Test / build-editions (DATABASE_SMM, puyopuyo) (push) Failing after 1m12s
Build and Test / build-editions (DATABASE_SMM, wii-sports-club) (push) Failing after 1m11s
Build and Test / build-editions (sonic-transformed) (push) Failing after 1m12s
Build and Test / build-editions (wii-u-chat) (push) Failing after 1m12s
Build and Test / build-editions (DATABASE_FRIENDS, friends) (push) Failing after 1m14s
Some checks failed
Build and Test / build-editions (minecraft-wiiu) (push) Failing after 40s
Build and Test / build-editions (mario-tennis) (push) Failing after 51s
Build and Test / build-editions (fast-racing-neo) (push) Failing after 59s
Build and Test / build-editions (terraria) (push) Failing after 1m1s
Build and Test / build-editions (splatoon-testfire) (push) Failing after 1m5s
Build and Test / build-editions (splatoon) (push) Failing after 1m4s
Build and Test / build-editions (DATABASE_SMM, super-mario-maker) (push) Failing after 1m12s
Build and Test / build-editions (DATABASE_SMM, puyopuyo) (push) Failing after 1m12s
Build and Test / build-editions (DATABASE_SMM, wii-sports-club) (push) Failing after 1m11s
Build and Test / build-editions (sonic-transformed) (push) Failing after 1m12s
Build and Test / build-editions (wii-u-chat) (push) Failing after 1m12s
Build and Test / build-editions (DATABASE_FRIENDS, friends) (push) Failing after 1m14s
This commit is contained in:
parent
4d3cbb9fd6
commit
98712a6051
1 changed files with 3 additions and 16 deletions
|
|
@ -38,7 +38,7 @@ pub mod config {
|
|||
|
||||
pub use paste;
|
||||
pub use rnex_util as util;
|
||||
use tracing::{Instrument, error, info, info_span, instrument};
|
||||
use tracing::{error, info, info_span};
|
||||
|
||||
use crate::{
|
||||
RemoteCallError::ConnectionBroke,
|
||||
|
|
@ -322,7 +322,6 @@ impl<T: RemoteDisconnectable> RmcCallable for OnlyRemote<T> {
|
|||
}
|
||||
}
|
||||
|
||||
#[instrument]
|
||||
async fn handle_incoming<T: RmcCallable + Send + Sync + Debug + 'static>(
|
||||
sending_conn: SendingBufferConnection,
|
||||
remote: Arc<T>,
|
||||
|
|
@ -391,18 +390,10 @@ async fn handle_incoming<T: RmcCallable + Send + Sync + Debug + 'static>(
|
|||
)
|
||||
}
|
||||
}
|
||||
.instrument(info_span!(
|
||||
"rmc call",
|
||||
protocol_id,
|
||||
method_id,
|
||||
call_id,
|
||||
raw_arguments = hex::encode(&rest_of_data),
|
||||
))
|
||||
.await;
|
||||
}
|
||||
}
|
||||
|
||||
#[instrument]
|
||||
async fn handle_incoming_loop<T: RmcCallable + Send + Sync + Debug + 'static>(
|
||||
mut connection: SplittableBufferConnection,
|
||||
remote: Arc<T>,
|
||||
|
|
@ -441,9 +432,7 @@ where
|
|||
|
||||
let sending_conn = conn.duplicate_sender();
|
||||
|
||||
let exposed_object = (create_internal)(rmc_conn)
|
||||
.instrument(info_span!("initializing inner object"))
|
||||
.await;
|
||||
let exposed_object = (create_internal)(rmc_conn).await;
|
||||
|
||||
{
|
||||
let exposed_object = exposed_object.clone();
|
||||
|
|
@ -457,15 +446,13 @@ where
|
|||
sending_conn.send([0, 0, 0, 0, 0].to_vec()).await;
|
||||
sleep(Duration::from_secs(10)).await;
|
||||
}
|
||||
}
|
||||
.instrument(info_span!("timeout sender")),
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
exposed_object
|
||||
}
|
||||
// todo: maybe add info on who we're creating the gateway to somehow
|
||||
.instrument(info_span!("create new rmc gateway connection"))
|
||||
.await
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue