You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Right now the buffer size is 5 elements. In other words, the worker can send 5 elements to a libp2p tasks, after which it has to go to sleep waiting for the libp2p task to make some space in that queue.
In practice, however, grandpa seems to sometimes send bursts of hundreds of messages, and it probably wouldn't hurt to increase this buffer size to a bit more than 5.
This requires changes in libp2p to make this buffer size configurable, but I'm opening it here to not forget to update Substrate later.