mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-09-10 22:52:50 +02:00
misc tracing span tweaks
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
5fc8e90e02
commit
aba88ccead
16 changed files with 96 additions and 24 deletions
|
@ -176,7 +176,6 @@ impl Data {
|
|||
}
|
||||
}
|
||||
|
||||
#[tracing::instrument(skip(key), level = "debug")]
|
||||
fn parse_servercurrentevent(key: &[u8], value: &[u8]) -> Result<(Destination, SendingEvent)> {
|
||||
// Appservices start with a plus
|
||||
Ok::<_, Error>(if key.starts_with(b"+") {
|
||||
|
|
|
@ -24,7 +24,7 @@ use crate::{
|
|||
};
|
||||
|
||||
impl super::Service {
|
||||
#[tracing::instrument(skip(self, client, request), name = "send")]
|
||||
#[tracing::instrument(skip_all, level = "debug")]
|
||||
pub async fn send<T>(&self, client: &Client, dest: &ServerName, request: T) -> Result<T::IncomingResponse>
|
||||
where
|
||||
T: OutgoingRequest + Send,
|
||||
|
|
|
@ -62,7 +62,7 @@ pub const PDU_LIMIT: usize = 50;
|
|||
pub const EDU_LIMIT: usize = 100;
|
||||
|
||||
impl Service {
|
||||
#[tracing::instrument(skip_all, name = "sender")]
|
||||
#[tracing::instrument(skip_all, level = "debug")]
|
||||
pub(super) async fn sender(&self) -> Result<()> {
|
||||
let mut statuses: CurTransactionStatus = CurTransactionStatus::new();
|
||||
let mut futures: SendingFutures<'_> = FuturesUnordered::new();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue