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

Select all underlying asset storage fields in asset paths endpoint #1034

Merged
merged 1 commit into from
Apr 20, 2022

Conversation

jjnesbitt
Copy link
Member

@jjnesbitt jjnesbitt commented Apr 17, 2022

This addresses the unnecessarily slow behavior that's partially to blame for this issue: dandi/dandi-api-webshots-tools#14.

Zarr and embargoed asset blobs weren't being selected along with the asset itself for the paths queryset. This resulted in sequential database calls for each asset, drastically increasing request time.

@jjnesbitt jjnesbitt merged commit fd7ac26 into master Apr 20, 2022
@jjnesbitt jjnesbitt deleted the slow-asset-paths branch April 20, 2022 16:13
@dandibot
Copy link
Member

🚀 PR was released in v0.2.14 🚀

@dandibot dandibot added the released This issue/pull request has been released. label Apr 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants