Fix changes in response to code review

This commit is contained in:
Mick Grove 2025-08-30 20:07:31 -07:00
commit 43fce5159a
3 changed files with 18 additions and 18 deletions

View file

@ -94,8 +94,8 @@ fn is_local_host(h: &str) -> bool {
const FAST_CONNECT_MS: u64 = 700; // direct single-host URIs
const FAST_SELECT_MS: u64 = 300;
const SRV_PARSE_MS: u64 = 2_000; // limit DNS resolution time
const SRV_CONNECT_MS: u64 = 2500; //700;
const SRV_SELECT_MS: u64 = 2500; //300;
const SRV_CONNECT_MS: u64 = 2500;
const SRV_SELECT_MS: u64 = 2500;
/// Validates a MongoDB URI in ≤ 2 s. Returns `(bool, String)` where the
/// boolean indicates success and the string provides a status message.