Skip to content

Commit

Permalink
typo: typo spell admission_picker (#568)
Browse files Browse the repository at this point in the history
  • Loading branch information
Li0k authored Jun 21, 2024
1 parent 373ba18 commit cebed56
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions foyer-storage/src/store/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ where
reclaimers: usize,
clean_region_threshold: Option<usize>,
eviction_pickers: Vec<Box<dyn EvictionPicker>>,
admision_picker: Arc<dyn AdmissionPicker<Key = K>>,
admission_picker: Arc<dyn AdmissionPicker<Key = K>>,
reinsertion_picker: Arc<dyn ReinsertionPicker<Key = K>>,
compression: Compression,
tombstone_log_config: Option<TombstoneLogConfig>,
Expand Down Expand Up @@ -342,7 +342,7 @@ where
reclaimers: 1,
clean_region_threshold: None,
eviction_pickers: vec![Box::new(InvalidRatioPicker::new(0.8)), Box::<FifoPicker>::default()],
admision_picker: Arc::<AdmitAllPicker<K>>::default(),
admission_picker: Arc::<AdmitAllPicker<K>>::default(),
reinsertion_picker: Arc::<RejectAllPicker<K>>::default(),
compression: Compression::None,
tombstone_log_config: None,
Expand Down Expand Up @@ -451,7 +451,7 @@ where
///
/// Default: [`AdmitAllPicker`].
pub fn with_admission_picker(mut self, admission_picker: Arc<dyn AdmissionPicker<Key = K>>) -> Self {
self.admision_picker = admission_picker;
self.admission_picker = admission_picker;
self
}

Expand Down Expand Up @@ -519,7 +519,7 @@ where
reclaimers: self.reclaimers,
clean_region_threshold,
eviction_pickers: self.eviction_pickers,
admission_picker: self.admision_picker,
admission_picker: self.admission_picker,
reinsertion_picker: self.reinsertion_picker,
tombstone_log_config: self.tombstone_log_config,
}))
Expand All @@ -540,7 +540,7 @@ where
reclaimers: self.reclaimers,
clean_region_threshold,
eviction_pickers: self.eviction_pickers,
admission_picker: self.admision_picker,
admission_picker: self.admission_picker,
reinsertion_picker: self.reinsertion_picker,
tombstone_log_config: self.tombstone_log_config,
},
Expand Down

0 comments on commit cebed56

Please sign in to comment.