We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f25fa5b commit f7e06cfCopy full SHA for f7e06cf
1 file changed
crates/rmcp/src/service/client/cache.rs
@@ -298,14 +298,6 @@ impl<R: ServiceRole> Peer<R> {
298
.entries
299
.retain(|key, _| !key.logical_key.starts_with(prefix));
300
}
301
-
302
- pub(crate) async fn invalidate_cached_response(&self, logical_key: &str) {
303
- let mut cache = self.response_cache.write().await;
304
- cache.generation = cache.generation.wrapping_add(1);
305
- cache
306
- .entries
307
- .retain(|key, _| key.logical_key != logical_key);
308
- }
309
310
311
impl Peer<RoleClient> {
0 commit comments