-
Notifications
You must be signed in to change notification settings - Fork 592
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
Follow-up to #1669 - per-channel dispatch concurrency #1671
Conversation
143f697
to
8cd950f
Compare
PR #1669 by @danielmarbach adds the ability to configure consumer dispatch on a per-channel basis. * Test that consumer dispatch concurrency is set on the dispatcher.
8cd950f
to
7770fd8
Compare
Isn't this approach way more complex compared to having the concurrency nullable like in my own original proposal? |
Yes it is. I can't explain it, but I don't like that nullable value 😆 I can restore that behavior. |
Does it mean I get cake now? 🤣😂 |
What don't you like about it? |
@danielmarbach thanks for your patience with me. @paulomorgado I'm still getting used to seeing |
@lukebakken absolutely no problem. I appreciate your time. The only thing I'll ask for is the same patience should I ever submit erlang stuff 😅 |
First you find it strange, then you find it stranger. 😄 For nullable reference types, the compiler does flow analysis. You still need to validate user input, but for internal code, you can just add For nullable value types, when performance is involved, especially regarding type sizes, it's usually a bad idea to store them. But for API contracts, they are great. And if you use pattern matching when validating and using them, performance is great. |
Follows-up to #1669 to restore some of the behavior introduced, and add tests.
cc @danielmarbach