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

Clean up standalone sync service processing handling #1641

Merged
merged 6 commits into from
Jan 31, 2024

Conversation

tomaka
Copy link
Contributor

@tomaka tomaka commented Jan 31, 2024

cc #1382

This PR removes the hack where we call process_one ahead of time. Instead, the processing is done within the loop itself.
Beyond making the flow a bit easier to read, it also lowers the priority of processing behind more important tasks (in particular, lower priority than starting new requests), which should lower the time to warp sync and to answering frontend requests.

@tomaka tomaka added this pull request to the merge queue Jan 31, 2024
Merged via the queue into smol-dot:main with commit 0b7287e Jan 31, 2024
22 checks passed
@tomaka tomaka deleted the sync-service-clean branch January 31, 2024 11:23
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