Skip to content

Commit

Permalink
refacor: give hybrid cache builder a default registry type (#803)
Browse files Browse the repository at this point in the history
Signed-off-by: MrCroxx <[email protected]>
  • Loading branch information
MrCroxx authored Nov 27, 2024
1 parent 19bc2de commit 2cac366
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion foyer/src/hybrid/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ use foyer_storage::{
use crate::HybridCache;

/// Hybrid cache builder.
pub struct HybridCacheBuilder<K, V, M> {
pub struct HybridCacheBuilder<K, V, M = NoopMetricsRegistry> {
name: &'static str,
event_listener: Option<Arc<dyn EventListener<Key = K, Value = V>>>,
tracing_options: TracingOptions,
Expand Down

0 comments on commit 2cac366

Please sign in to comment.