Reduce logs from info to debug
This commit is contained in:
parent
a1bd348977
commit
63f787f635
3 changed files with 26 additions and 25 deletions
|
@ -1530,6 +1530,7 @@ impl Service {
|
|||
while let Some(result) = futures.next().await {
|
||||
info!("Received new result");
|
||||
if let (Ok(get_keys_response), origin) = result {
|
||||
info!("Result is from {origin}");
|
||||
if let Ok(key) = get_keys_response.server_key.deserialize() {
|
||||
let result: BTreeMap<_, _> = services()
|
||||
.globals
|
||||
|
|
|
@ -40,7 +40,7 @@ use tokio::{
|
|||
select,
|
||||
sync::{mpsc, Mutex, Semaphore},
|
||||
};
|
||||
use tracing::{error, info, warn};
|
||||
use tracing::{debug, error, warn};
|
||||
|
||||
#[derive(Clone, Debug, PartialEq, Eq, Hash)]
|
||||
pub enum OutgoingKind {
|
||||
|
@ -683,9 +683,9 @@ impl Service {
|
|||
where
|
||||
T: Debug,
|
||||
{
|
||||
info!("Waiting for permit");
|
||||
debug!("Waiting for permit");
|
||||
let permit = self.maximum_requests.acquire().await;
|
||||
info!("Got permit");
|
||||
debug!("Got permit");
|
||||
let response = tokio::time::timeout(
|
||||
Duration::from_secs(2 * 60),
|
||||
server_server::send_request(destination, request),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue