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

feat: emit a nicer panic when thread count overflows MAX_SHARDS #64

Merged
merged 3 commits into from
Oct 11, 2021

Conversation

danielhenrymantilla
Copy link
Contributor

Tackles #62 (comment). I don't know if there are other places that could panic, though, I just personally hit that line.

Copy link
Owner

@hawkw hawkw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me, thank you!

src/shard.rs Outdated Show resolved Hide resolved
TODO: negate the condition in the assertion

Co-authored-by: Eliza Weisman <eliza@buoyant.io>
src/shard.rs Outdated Show resolved Hide resolved
@hawkw hawkw changed the title Emit a nicer panic when thread count overflows MAX_SHARDS feat: emit a nicer panic when thread count overflows MAX_SHARDS Oct 11, 2021
@hawkw hawkw merged commit f1ed058 into hawkw:main Oct 11, 2021
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.

None yet

2 participants