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

Changed cursor() into lazyById() to preserve memory when working with large amount of events #284

Merged
merged 1 commit into from
Nov 17, 2021

Conversation

etahamer
Copy link

In one of my projects I have several millions of events and when I tried to replay them all, my process was dying because of being out of memory. I have solved this issue by changing cursor() into lazyById()

@freekmurze freekmurze merged commit 887dd79 into spatie:main Nov 17, 2021
@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.

2 participants