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

Don't pull all media models from DB when performing cleanup #3657

Merged
merged 1 commit into from
Jul 15, 2024
Merged

Don't pull all media models from DB when performing cleanup #3657

merged 1 commit into from
Jul 15, 2024

Conversation

ImJustToNy
Copy link
Contributor

Hi!
I've noticed that when you do a clean-up, it pulls out all models from the database, just to get the IDs, which is a bit wasteful. This is a small change that changes this behaviour so that it pulls out only IDs.

@freekmurze freekmurze merged commit c38b804 into spatie:main Jul 15, 2024
9 checks passed
@freekmurze
Copy link
Member

Thanks!

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.

3 participants