Support specifying the BGP peer asn on the CLI, increase max connections
[dnsseed-rust] / src / datastore.rs
index a078f49cae9c2d9f6959bc639005e651074a84b3..bfc15c90bc7f0978b2c03cc3274d72263ce9e6d0 100644 (file)
@@ -21,7 +21,7 @@ use crate::bloom::RollingBloomFilter;
 use crate::bgp_client::BGPClient;
 
 pub const SECS_PER_SCAN_RESULTS: u64 = 15;
-const MAX_CONNS_PER_SEC_PER_STATUS: u64 = 1000;
+const MAX_CONNS_PER_SEC_PER_STATUS: u64 = 2500;
 
 #[derive(Clone, Copy, Hash, PartialEq, Eq)]
 pub enum AddressState {