-
Notifications
You must be signed in to change notification settings - Fork 3
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
CHANNEL_CAPACITY
is unused
#28
Comments
Indeed, this constant is no longer used as we use it in the builder implementation. |
In the meantime, we also have |
The signal capacity is identical per subsystem, so we should never come to the point that we need different queues, unless there is a subsystem that blocks on tasks for a very long time and does not process signals. |
Yes, but if we can override message capacity per subsystem, why cannot we override a signal capacity then? |
Signals should be homogenous across all subsystems, and should be processed with priority over messages iirc, under that assumption I'd consider it a bug in the Subsystem if its blocking incoming signal consumption for too long |
Yes, but some subsystems might be slow, so signals sent to them might block other susbsystems, similarly to paritytech/polkadot#18. |
This taps into paritytech/polkadot-sdk#933 whether that's ok or not or if we should split Signal Processing into its own stream entirely |
But I see that that'd be a large refactor mostly in polkadot, which might not be desirable at this point. Maybe it could be done by introducing prioritization into The proposed approach is fine by me, but we should slow down the duck tape fixes needed short term for some more principal led arch refactors |
In fact, I also think that having both |
Since 0.0.5 I get the warning message
CHANNEL_CAPACITY
from generated code.The text was updated successfully, but these errors were encountered: