Replies: 1 comment 2 replies
-
Inbound stream limit seems to be primarily related to @mxinden you have introduced this constant (BTW, would be nice to make it configurable instead) in #2699, anything you can recommend in terms of further debugging? Implementation is quite hard to read. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I keep hitting either Yamux stream limit or Kademlia's incoming stream limit when setting limits that I think make sense.
In particular, I'm using a semaphore to ensure I only initiate up to 30 Kademlia queries to any nodes and removing corresponding permit (tokio's implementation) when I get
ProgressStep { last: true, .. }
for corresponding query, which I though meant corresponding substream is gone and can be used for other purposes without hitting incoming stream limits.I'd appreciate some guidance how can I saturate available concurrency without hitting limits and generating warnings/errors.
Beta Was this translation helpful? Give feedback.
All reactions