parent
6f7113950b
commit
24faf4dd26
1 changed files with 0 additions and 8 deletions
|
@ -325,14 +325,6 @@ where
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
debug!("Returning error from {destination}");
|
debug!("Returning error from {destination}");
|
||||||
|
|
||||||
// remove potentially dead destinations from our cache that may be from modified
|
|
||||||
// well-knowns
|
|
||||||
if !write_destination_to_cache {
|
|
||||||
info!("Evicting {destination} from our true destination cache due to failed request.");
|
|
||||||
services().globals.actual_destination_cache.write().await.remove(destination);
|
|
||||||
}
|
|
||||||
|
|
||||||
Err(Error::FederationError(
|
Err(Error::FederationError(
|
||||||
destination.to_owned(),
|
destination.to_owned(),
|
||||||
RumaError::from_http_response(http_response),
|
RumaError::from_http_response(http_response),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue