From ce86ba3425924b83668dccdd6d9811e32b2e3933 Mon Sep 17 00:00:00 2001 From: "Lei, HUANG" <6406592+v0y4g3r@users.noreply.github.com> Date: Mon, 9 Dec 2024 21:39:18 +0800 Subject: [PATCH] chore: Reduce FETCH_OPTION_TIMEOUT from 10 to 3 seconds in config.rs (#5117) Reduce FETCH_OPTION_TIMEOUT from 10 to 3 seconds in config.rs --- src/mito2/src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mito2/src/config.rs b/src/mito2/src/config.rs index cb4022f65e57..067ab27938a2 100644 --- a/src/mito2/src/config.rs +++ b/src/mito2/src/config.rs @@ -46,7 +46,7 @@ const PAGE_CACHE_SIZE_FACTOR: u64 = 8; const INDEX_CREATE_MEM_THRESHOLD_FACTOR: u64 = 16; /// Fetch option timeout -pub(crate) const FETCH_OPTION_TIMEOUT: Duration = Duration::from_secs(10); +pub(crate) const FETCH_OPTION_TIMEOUT: Duration = Duration::from_secs(3); /// Configuration for [MitoEngine](crate::engine::MitoEngine). #[derive(Debug, Serialize, Deserialize, Clone, PartialEq, Eq)]