mirror of
https://gitlab.com/veilid/veilid.git
synced 2024-12-28 00:39:25 -05:00
address filter cleanout during restart
This commit is contained in:
parent
1fa44d62bc
commit
5b013e3d31
@ -105,6 +105,8 @@ impl AddressFilter {
|
||||
// When the network restarts, some of the address filter can be cleared
|
||||
pub fn restart(&self) {
|
||||
let mut inner = self.inner.lock();
|
||||
inner.conn_count_by_ip4.clear();
|
||||
inner.conn_count_by_ip6_prefix.clear();
|
||||
inner.dial_info_failures.clear();
|
||||
}
|
||||
|
||||
|
@ -286,7 +286,7 @@ impl RoutingTable {
|
||||
{
|
||||
Ok(NodeContactMethod::Direct(v)) => v,
|
||||
Ok(v) => {
|
||||
log_rtab!(warn "invalid contact method for bootstrap, ignoring peer: {:?}", v);
|
||||
log_rtab!(debug "invalid contact method for bootstrap, ignoring peer: {:?}", v);
|
||||
// let _ = routing_table
|
||||
// .network_manager()
|
||||
// .get_node_contact_method(nr.clone());
|
||||
|
Loading…
Reference in New Issue
Block a user