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

Move MediaObject#to_solr leases check into the background job #6070

Open
1 task
masaball opened this issue Oct 7, 2024 · 0 comments
Open
1 task

Move MediaObject#to_solr leases check into the background job #6070

masaball opened this issue Oct 7, 2024 · 0 comments
Assignees

Comments

@masaball
Copy link
Contributor

masaball commented Oct 7, 2024

Description

We include Media Object leases in the metadata that gets indexed to solr. The call to load the leases is a large percentage of the time spent in the #to_solr method during save callbacks. Moving the lease indexing into the MediaObjectIndexingJob code flow should net us a reduction in how long saves take.

Done Looks Like

  • Move media object lease management to a background job
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

No branches or pull requests

2 participants