Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: don't fetch cover art urls twice #161

Merged
merged 1 commit into from Jun 1, 2023

Conversation

prabalsingh24
Copy link
Contributor

No description provided.

@prabalsingh24
Copy link
Contributor Author

@akshaaatt this makes sense right? we're already fetching urls while fetching the listens. No need to make the API call again

Copy link
Member

@akshaaatt akshaaatt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great point. This seems to have been missed out. Thanks a lot for looking into this and fixing 💯

@07jasjeet
Copy link
Contributor

This flow was used to give pre-loader URLs to work with. Since the pre loader is now removed, might as well get rid of the coverArtFlow as well and use the function as is.

@akshaaatt
Copy link
Member

@07jasjeet that sounds right to me. I think removing the flow would be the better option here @prabalsingh24 since it involves storing things separately and then accessing them via index.

@akshaaatt
Copy link
Member

For now, this is correct and I don't wanna burden the PR with optimizations because this fix is important.

@akshaaatt akshaaatt merged commit 39818e4 into metabrainz:main Jun 1, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants