drop querying _matrix SRV record to debug

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-03-09 15:51:59 -05:00 committed by June
parent 3f06725261
commit 958b738e5a

View file

@ -490,7 +490,7 @@ async fn query_srv_record(hostname: &'_ str) -> Option<FedDest> {
lookup_srv(&first_hostname) lookup_srv(&first_hostname)
.or_else(|_| { .or_else(|_| {
info!("Querying deprecated _matrix SRV record for host {:?}", hostname); debug!("Querying deprecated _matrix SRV record for host {:?}", hostname);
lookup_srv(&second_hostname) lookup_srv(&second_hostname)
}) })
.and_then(|srv_lookup| async move { Ok(handle_successful_srv(&srv_lookup)) }) .and_then(|srv_lookup| async move { Ok(handle_successful_srv(&srv_lookup)) })