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

Use a worker pool pattern to limit the number of goroutines #76

Merged
merged 2 commits into from
Aug 18, 2024

Conversation

sonroyaalmerol
Copy link
Owner

Context

  • Fix spawning too much workers for parsing causing some workers to crash due to low resources (getting this error #72)

Choices

  • Use a worker pool pattern to limit the number of goroutines

Test instructions

Checklist before requesting a review

  • I have performed a self-review of my code
  • I've added documentation about this change to the README.
  • I've not introduced breaking changes.

@sonroyaalmerol sonroyaalmerol marked this pull request as ready for review August 18, 2024 04:03
@sonroyaalmerol sonroyaalmerol merged commit 219e1fd into main Aug 18, 2024
4 checks passed
@sonroyaalmerol sonroyaalmerol deleted the add-parser-workers branch August 18, 2024 04:03
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