Downgraded a bunch of messages from debug to trace
This commit is contained in:
parent
aa2a41a53c
commit
a5ae2988b8
9 changed files with 39 additions and 31 deletions
|
|
@ -277,7 +277,7 @@ impl RecursiveRequest<RecursiveRequestCallbacksGetPeers> {
|
|||
async move {
|
||||
let mut iteration = 0;
|
||||
loop {
|
||||
debug!("iteration {}", iteration);
|
||||
trace!("iteration {}", iteration);
|
||||
let sleep = match this.get_peers_root() {
|
||||
Ok(0) => Duration::from_secs(1),
|
||||
Ok(n) if n < 8 => REQUERY_INTERVAL / 2,
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ fn dump_dht(dht: &Dht, filename: &Path, tempfile_name: &Path) -> anyhow::Result<
|
|||
.with_routing_table(|r| serde_json::to_writer(&mut file, &DhtSerialize { addr, table: r }))
|
||||
{
|
||||
Ok(_) => {
|
||||
debug!("dumped DHT to {:?}", &tempfile_name);
|
||||
trace!("dumped DHT to {:?}", &tempfile_name);
|
||||
}
|
||||
Err(e) => {
|
||||
return Err(e).with_context(|| {
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ use serde::{
|
|||
};
|
||||
use tracing::debug;
|
||||
|
||||
use crate::{INACTIVITY_TIMEOUT};
|
||||
use crate::INACTIVITY_TIMEOUT;
|
||||
|
||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||
enum BucketTreeNodeData {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue