Big debug of pmoqobuz step 1

This commit is contained in:
2025-12-12 21:42:04 +00:00
parent 7389c55970
commit cd19d68703
26 changed files with 18565 additions and 652 deletions

View File

@@ -188,6 +188,13 @@ impl QobuzCache {
/// Retourne des statistiques sur le cache
pub async fn stats(&self) -> CacheStats {
self.albums.run_pending_tasks().await;
self.tracks.run_pending_tasks().await;
self.artists.run_pending_tasks().await;
self.playlists.run_pending_tasks().await;
self.searches.run_pending_tasks().await;
self.stream_urls.run_pending_tasks().await;
CacheStats {
albums_count: self.albums.entry_count(),
tracks_count: self.tracks.entry_count(),