Skip to content
This repository has been archived by the owner on Dec 30, 2020. It is now read-only.

Playlist cover perf #75

Merged
merged 2 commits into from
Dec 5, 2020
Merged

Playlist cover perf #75

merged 2 commits into from
Dec 5, 2020

Conversation

Alaanor
Copy link
Owner

@Alaanor Alaanor commented Dec 5, 2020

Before this PR, each playlist's cover were cached (so the whole image) which explain why beatlist was slow when querying this cache. With this PR I force the playlist's cover to be null in the cache and read it from the playlist's file itself.

This also include a small script to nullify all current cover in the cache on upgrade.

@sonarcloud
Copy link

sonarcloud bot commented Dec 5, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@Alaanor Alaanor merged commit 5c0ada0 into master Dec 5, 2020
@Alaanor Alaanor deleted the playlist-cover-perf branch December 5, 2020 20:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant