Skip to content

Commit

Permalink
address pr comments
Browse files Browse the repository at this point in the history
  • Loading branch information
teh-cmc committed Dec 2, 2023
1 parent daae645 commit a2b7378
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/re_data_store/src/store_db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const MAX_INSERT_ROW_ATTEMPTS: usize = 1_000;
const DEFAULT_INSERT_ROW_STEP_SIZE: u64 = 100;

/// See [`GarbageCollectionOptions::time_budget`].
const GC_TIME_BUDGET: std::time::Duration = std::time::Duration::from_micros(3500); // empirical
const DEFAULT_GC_TIME_BUDGET: std::time::Duration = std::time::Duration::from_micros(3500); // empirical

/// Inserts a [`DataRow`] into the [`DataStore`], retrying in case of duplicated `RowId`s.
///
Expand Down Expand Up @@ -437,7 +437,7 @@ impl StoreDb {
.into_iter()
.collect(),
enable_batching: false,
time_budget: GC_TIME_BUDGET,
time_budget: DEFAULT_GC_TIME_BUDGET,
});
}

Expand All @@ -455,7 +455,7 @@ impl StoreDb {
purge_empty_tables: false,
dont_protect: Default::default(),
enable_batching: false,
time_budget: GC_TIME_BUDGET,
time_budget: DEFAULT_GC_TIME_BUDGET,
});
}

Expand Down

0 comments on commit a2b7378

Please sign in to comment.