set FORCE_USE_CONN_LIST default to false (#1652)

this is falsely set to true and will casue compatibility issue
This commit is contained in:
KKRainbow
2025-12-05 00:26:04 +08:00
committed by GitHub
parent 88a55859ac
commit 43a650f9ab

View File

@@ -68,7 +68,7 @@ static UPDATE_PEER_INFO_PERIOD: Duration = Duration::from_secs(3600);
static REMOVE_DEAD_PEER_INFO_AFTER: Duration = Duration::from_secs(3660);
// the cost (latency between two peers) is i32, i32::MAX is large enough.
static AVOID_RELAY_COST: usize = i32::MAX as usize;
static FORCE_USE_CONN_LIST: AtomicBool = AtomicBool::new(true);
static FORCE_USE_CONN_LIST: AtomicBool = AtomicBool::new(false);
type Version = u32;