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 use block_in_place for long running blocking tasks #281

Merged
merged 8 commits into from
Jan 22, 2025

Conversation

jeromegn
Copy link
Member

@jeromegn jeromegn commented Dec 30, 2024

  • Uses more threads
  • Uses spawn_blocking instead of block_in_place in corro-pg
  • Processes items faster and in smaller batches

@jeromegn jeromegn merged commit 3b5b07e into main Jan 22, 2025
3 of 4 checks passed
@jeromegn jeromegn deleted the less-blocking branch January 22, 2025 19:25
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