Skip to content

Commit

Permalink
connection: change overly verbose info span to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
alessandrod authored and djc committed May 5, 2022
1 parent 7ef7a5c commit dfa4f0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions quinn/src/connection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ use rustc_hash::FxHashMap;
use thiserror::Error;
use tokio::sync::{mpsc, oneshot, Notify};
use tokio::time::{sleep_until, Instant as TokioInstant, Sleep};
use tracing::info_span;
use tracing::debug_span;
use udp::UdpState;

use crate::{
Expand Down Expand Up @@ -273,7 +273,7 @@ impl Future for ConnectionDriver {
fn poll(mut self: Pin<&mut Self>, cx: &mut Context) -> Poll<Self::Output> {
let conn = &mut *self.0.lock("poll");

let span = info_span!("drive", id = conn.handle.0);
let span = debug_span!("drive", id = conn.handle.0);

This comment has been minimized.

Copy link
@neevek

neevek Apr 15, 2023

This still seems too much for a DEBUG message :-)

This comment has been minimized.

Copy link
@djc

djc Apr 15, 2023

Member

Please file an issue instead of commenting on a commit.

let _guard = span.enter();

if let Err(e) = conn.process_conn_events(cx) {
Expand Down

0 comments on commit dfa4f0e

Please sign in to comment.