From df843ab95facabc9c3e00fa896ecd40e56cb795d Mon Sep 17 00:00:00 2001 From: "Lei, HUANG" Date: Sun, 8 Dec 2024 19:03:18 -0800 Subject: [PATCH] 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 797c42f8084c..0635791a591c 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)]