From 24faf4dd2604407324a54d59beac7b25075bfc70 Mon Sep 17 00:00:00 2001 From: strawberry Date: Tue, 26 Mar 2024 06:44:42 -0400 Subject: [PATCH] revert 0297cfe30720362a470a5d1a2cf96fae2ee55c1d Signed-off-by: strawberry --- src/api/server_server.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/api/server_server.rs b/src/api/server_server.rs index fcb5d0ec..00eaaa5f 100644 --- a/src/api/server_server.rs +++ b/src/api/server_server.rs @@ -325,14 +325,6 @@ where }) } else { 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( destination.to_owned(), RumaError::from_http_response(http_response),