mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-09-01 16:59:21 +00:00
proxy_cidrs_monitor: remove get_route_peer_info_last_update_time check
This commit is contained in:
@@ -87,12 +87,13 @@ impl ProxyCidrsMonitor {
|
|||||||
break;
|
break;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// TODO: same logic for DNS
|
||||||
// Check if route info has been updated
|
// Check if route info has been updated
|
||||||
let last_update_time = peer_mgr.get_route_peer_info_last_update_time().await;
|
// let last_update_time = peer_mgr.get_route_peer_info_last_update_time().await;
|
||||||
if last_update == Some(last_update_time) {
|
// if last_update == Some(last_update_time) {
|
||||||
continue;
|
// continue;
|
||||||
}
|
// }
|
||||||
last_update = Some(last_update_time);
|
// last_update = Some(last_update_time);
|
||||||
|
|
||||||
let (new_proxy_cidrs, added, removed) =
|
let (new_proxy_cidrs, added, removed) =
|
||||||
Self::diff_proxy_cidrs(peer_mgr.as_ref(), &self.global_ctx, &cur_proxy_cidrs)
|
Self::diff_proxy_cidrs(peer_mgr.as_ref(), &self.global_ctx, &cur_proxy_cidrs)
|
||||||
|
|||||||
Reference in New Issue
Block a user