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

Optimize bulk deletion process using chunk method in MassPrunable trait #298

Closed
wants to merge 1 commit into from
Closed

Conversation

MingyuRomeoKim
Copy link

  • Implement chunking to handle large data sets more efficiently, reducing memory overhead.
  • Trigger ModelsPruned event only after all deletions are completed, improving event handling performance.
  • Refactor deletion logic to streamline code execution and enhance clarity.

- Implement chunking to handle large data sets more efficiently, reducing memory overhead.
- Trigger ModelsPruned event only after all deletions are completed, improving event handling performance.
- Refactor deletion logic to streamline code execution and enhance clarity.
Copy link

Thank you for your pull request. However, you have submitted this PR on the Illuminate organization which is a read-only sub split of laravel/framework. Please submit your PR on the https://github.com/laravel/framework repository.

Thanks!

@github-actions github-actions bot closed this Apr 30, 2024
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.

1 participant