tower-buffer uses tokio's mpsc channels, not the futures-rs mpsc channels. Unlike futures-rs mpsc channels, which have capacity n+m, where n is the buffer size and m is the number of senders, tokio channels always have buffer size n. This means that the buffer size is shared across all peer set handles. Thanks to @hawkw for sharing details of the Tokio internals! |
||
|---|---|---|
| .. | ||
| proptest-regressions/protocol | ||
| src | ||
| Cargo.toml | ||