Change mutex log message level to debug

This commit is contained in:
silverpill 2022-05-06 19:55:28 +00:00
parent e6e7e6f42a
commit f5b19f24c6

View file

@ -119,7 +119,7 @@ async fn inbox(
let now = Instant::now(); let now = Instant::now();
// Store mutex guard in a variable to prevent it from being dropped immediately // Store mutex guard in a variable to prevent it from being dropped immediately
let _guard = inbox_mutex.lock().await; let _guard = inbox_mutex.lock().await;
log::info!( log::debug!(
"acquired inbox lock after waiting for {:.2?}: {}", "acquired inbox lock after waiting for {:.2?}: {}",
now.elapsed(), now.elapsed(),
activity["id"].as_str().unwrap_or_default(), activity["id"].as_str().unwrap_or_default(),