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

bug: Unbounded historicalSync.sync() #1287

Open
kyscott18 opened this issue Nov 26, 2024 · 0 comments
Open

bug: Unbounded historicalSync.sync() #1287

kyscott18 opened this issue Nov 26, 2024 · 0 comments
Labels
A: Sync engine Area: Sync engine T: Bug Type: Bug

Comments

@kyscott18
Copy link
Collaborator

Description

historicalSync.sync() takes interval as a parameter and syncs all events in the given interval. If this interval is event dense, or very large, the function invocation can attempt to sync too many events, causing an OOM or other errors. Ideally, there would be an escape hatch when too many objects are held at once. This algorithm should optimize for correctness and not performance, as this rarely happens.

Related #1135

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A: Sync engine Area: Sync engine T: Bug Type: Bug
Projects
None yet
Development

No branches or pull requests

1 participant