Skip to content

Commit

Permalink
chore: Reduce FETCH_OPTION_TIMEOUT from 10 to 3 seconds in config.rs (#…
Browse files Browse the repository at this point in the history
…5117)

Reduce FETCH_OPTION_TIMEOUT from 10 to 3 seconds in config.rs
  • Loading branch information
v0y4g3r authored Dec 9, 2024
1 parent 2fcb95f commit ce86ba3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mito2/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down

0 comments on commit ce86ba3

Please sign in to comment.