diff --git a/zenoh/src/api/session.rs b/zenoh/src/api/session.rs index f3510048a..97d4ddbdd 100644 --- a/zenoh/src/api/session.rs +++ b/zenoh/src/api/session.rs @@ -1972,11 +1972,6 @@ impl SessionInner { #[cfg(feature = "unstable")] source_info: SourceInfo, attachment: Option, ) -> ZResult<()> { - if let Some(cache) = cache { - if cache.load(Ordering::Relaxed) != u64::MAX { - return Ok(()); - } - } const REMOTE_TAG: u64 = 0b01; const LOCAL_TAG: u64 = 0b10; const VERSION_SHIFT: u64 = 2;