Skip to content

Commit

Permalink
Replaces bare Arc::default() in CacheHashData::new() (solana-labs#35017)
Browse files Browse the repository at this point in the history
  • Loading branch information
brooksprumo authored Jan 31, 2024
1 parent b3ea62f commit 0569304
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion accounts-db/src/cache_hash_data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ impl CacheHashData {
cache_dir,
pre_existing_cache_files: Arc::new(Mutex::new(HashSet::default())),
deletion_policy,
stats: Arc::default(),
stats: Arc::new(CacheHashDataStats::default()),
};

result.get_cache_files();
Expand Down

0 comments on commit 0569304

Please sign in to comment.