Skip to content

Commit

Permalink
Remove the thread pool from future::Cache
Browse files Browse the repository at this point in the history
- Rename `flush` method of `future::Cache` to `run_pending_tasks`.
- Enable unit tests in `future::base_cache`.
  • Loading branch information
tatsuya6502 committed Aug 20, 2023
1 parent 13e3a08 commit 6e7e912
Show file tree
Hide file tree
Showing 5 changed files with 906 additions and 894 deletions.
2 changes: 1 addition & 1 deletion src/common/frequency_sketch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ impl FrequencySketch {
}

// Methods only available for testing.
#[cfg(all(test, feature = "sync"))]
#[cfg(test)]
impl FrequencySketch {
pub(crate) fn table_len(&self) -> usize {
self.table.len()
Expand Down
Loading

0 comments on commit 6e7e912

Please sign in to comment.