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

Add index on timestamp_added #1381

Merged
merged 2 commits into from
Jun 18, 2024
Merged

Conversation

MelHarbour
Copy link
Contributor

The home screen of MA includes a 'recently added' row:

https://github.com/music-assistant/frontend/blob/7553714d748b53ba29b52671586ab38108fa18be/src/components/HomeWidgetRows.vue#L112

My library has ca. 8000s tracks and it takes a fair amount of time to fetch just that row (7-8s I think). This should speed up the fetch and hence the display of the home screen.

@marcelveldt
Copy link
Member

Thanks!

@marcelveldt marcelveldt merged commit eadaf52 into music-assistant:main Jun 18, 2024
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants